New answers tagged

4

It is pretty straightforward to create a mapping, e.g. inoremap <C-S> <cmd>update<CR> But the point is that you shouldn't stay in Insert mode for too long. That is, always press "esc" immediately after you've finished typing. Use "J", "d", "o", "<<" and other Normal mode keys to ...


1

You can accomplish this task with i (to enter Insert mode) followed by Enter, which will break the line taking the part starting at the character under the cursor to the next line. This sequence will leave you in Insert mode. If you'd like to repeat that for many lines, you can use i, Enter, Esc, to simply break the line and return to Normal mode. At that ...


Top 50 recent answers are included