In Notepad++, I can use Ctrl + Shift + Up / Down to move the current line up and down. Is there a similar command to this in Vim?
add the following to ~/.vimrc file (make sure you have no mapping for n,m )
nmap n :m +1 nmap m :m -2
now pressing n key will move a line down and m will move a line up.
n
m