vim-stream-editing : Edit text without moving your cursor!
script karma |
Rating 11/4,
Downloaded by 40 |
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
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.236.223.106
|