8

Adding a line in vim adds it at the line after the cursor, I would like to insert

view full story
linux-howto

http://unix.stackexchange.com – I have this keybinding in .vimrc: map + :put=''<cr> map - dd I find it really useful for fast layout and source file cleaning with + and -. But using :put=""<cr> adds a line after the current cursor line, whereas dd removes a line at the current cursor. I'd rather have my + keybinding insert a line rather than add it after. What command should I try ? (HowTos)