http://vim.wikia.com/wiki/Moving_lines_up_or_down
In normal mode or in insert mode, press Alt-j to move the current line down,
or press Alt-k to move the current line up.
After visually selecting a block of lines (for example, by pressing V then moving the cursor down),
press Alt-j to move the whole block down, or press Alt-k to move the block up.