It's annoying to delete and paste parts of a text just to move it up and down a bit. There is the
:m[ove]command but it is quite awkward to use by todays standards. vim-move is a Vim plugin that moves lines and selections in a more visual manner.
The default shortcuts are
<A-j>, and these commands can be prefixed with a numerical argument to specify the number of lines to move by.
I found setting the meta-key to control made it work on a Mac, with
let g:move_key_modifier = 'C', otherwise your terminal will need to be configured to send Alt+Esc (I think).
Hardtime helps you break that annoying habit vimmers have of scrolling up and down the page using
kkkkkbut without compromising the rest of our Vim experience.
It works using a timeout on the keys you want to stop repeating, i.e.
RIGHT. This timeout is set to 1 second. After 1 second you can use a movement key again.
Once it's installed, you can enable it with
:HardTimeOn and turn it off with
:HardTimeOff. You can even set
let g:hardtime_default_on = 1 in your
.vimrc to make it run automatically in every buffer.