InsertChar : Press <tab> to insert a single character
script karma |
Rating 46/14,
Downloaded by 1277 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Peter Hodge |
|
script type |
utility |
|
description |
Allows you to use <tab> <letter> to insert a single character (no need to press escape). You can also use 3<tab> <letter> to insert 3 characters.
If you install vimscript #2136, then the '.' command will also repeat the last insert.
|
|
install details |
Step 1:
Place InsertChar.vim in the ~/.vim/plugin/ folder, or ~/.vim/autoload if your prefer.
Step 2:
Set up a mapping in your ~/.vimrc:
nnoremap <TAB> :<C-U>call InsertChar#insert(v:count1)<CR>
You can change <TAB> to any other key you prefer, but the rest of the command must be the same.
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.17.81.40
|