sponsor Vim development Vim logo Vim Book Ad

vim-stream-editing : Edit text without moving your cursor!

 script karma  Rating 11/4, Downloaded by 56  Comments, bugs, improvements  Vim wiki

created by
Lipsiz Terry
 
script type
patch
 
description
Edit text without moving your cursor!

Have you ever made a typo in a word? Do you find it annoying to move your cursor or use lengthy commands to correct it? This plug frees you from boxing with annoying cursor and complex commands!

Git hub link: https://github.com/lsp59862/vim-stream-editing
 
install details
<<Installation>>
<Manual>
Copy plugin/vim-stream-editing.vim to ~/.vim/plugin
<Pathogen>
git clone git://github.com/lsp59862/vim-stream-editing.git ~/.vim/bundle/vim-stream-editing
<Vundle>
Plugin 'lsp59862/vim-stream-editing'
<Vim-Plug>
Plug 'lsp59862/vim-stream-editing'

<<Usage>>
Hit (Alt+f) to use the plug in normal/insert mode if you enabled. Then:
Enter text(pattern) to modify.
Hit [n/b] to choose the text.
Hit [i/r/a] to insert/replace/append.
Enter a new text.
You can exit the process by whenever you want.

<<Options>>
g:vim_stream_editing_enable
Default: 0
Enable this plug when set it to 1.

<<Attention>>
g:vim_stream_editing_enable maps as the shortcut key to activate the process:

nnoremap <silent> <A-f> :call VimStreamEditingEditText()<CR>
inoremap <silent> <A-f> <Esc>:call VimStreamEditing#EditText()<CR>a      
If you don't want to use this key, please map the function directly and set g:vim_stream_editing_enable to 0 :

nnoremap <silent> <Key> :call VimStreamEditingEditText()<CR>
inoremap <silent> <Key> <Esc>:call VimStreamEditingEditText()<CR>a
let g:vim_stream_editing_enable = 0
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-stream-editing-main.zip V1.1 2024-02-12 9.0 Lipsiz Terry Fixed a Bug
ip used for rating: 3.17.181.21

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github