Last Updated: February 25, 2016
·
477
· lnl7

Splitting lines with vim

In normal mode J will join the current line with the next.
This mapping will do the opposite, split the line at the cursor position.

nmap K i<CR><Esc>k$