I'm looking for the opposite of x. I want to insert just one character and stay in command mode.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|
You could map a key(-sequence) to a command sequence, f.e.:
Ctrl-i takes one character and returns afterwards. To make it persistent, add the same line to the local or global vimrc file:
|
|||||||
|
|
In some situations you can just use
If you want more than one char, use Remember to run |
|||
|
|
