1
1
I was wondering if it is at all possible to have vim update its file history more often.
For example, if I got into insert mode, and type 20 lines of code, exit, and hit 'u', it undoes everything I had typed in.
Is there a way to make make these undos more granular without needing to pop in and out of insert mode all the time?
What do you mean by inserting a register? Also, what does the n in the last command stand for? – None – 2015-05-14T19:10:25.857
You can paste from insert mode via
<C-r>{register}
, like"{register}p
in normal mode. Since that can add a whole lot of text, an undo point is helpful. – Ingo Karkat – 2015-05-14T19:12:55.540You can use the excellent
:help
to answer further questions::help feedkeys()
tells you thatn
means do not remap keys. – Ingo Karkat – 2015-05-14T19:13:47.103