I created a mapping to move the current line up one line.
:map _ ddkP
It works, except that when executed on the first line, it deletes the first line.
I would expect that nothing will happen, because they are carried out dd, k, Pin the first row, nothing happens. Where am I mistaken?
source
share