New answers tagged

1

This is only supported in GUI. For terminal, there is no common way to set it up. If you really need setting cursor colors, you have to figure the right control sequence yourself and tell Vim about it. Full instructions and working example for xterm-compliant terminal are given under :h termcap-cursor-color.


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