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 ?