Some people like the visual feedback shown in the status line by the following alternative for your vimrc: You do not have to start insert mode first, but if you are in normal mode and have a mapping for F2, that mapping will apply, and the 'pastetoggle' function will not operate. Then the existing indentation of the pasted text will be retained.
0 Comments
Leave a Reply. |