Split lines in Vim
I鈥檝e long wanted a command that was the opposite of J (join lines), and I finally took the time to see if it鈥檚 possible. Turns out there a few solutions. The simplest way if you want to split on a whitespace character is to just type r enter. I can鈥檛 believe I never thought of that before. You can also install the vim-split-line plugin, which adds the :SplitLine command. This command will split the current line at the cursor position. ...