mlessnau_block_shift : Line-wise up/down shift of selected blocks
| script karma
Downloaded by 283
Comments, bugs, improvements
script versions (upload new version)
|The plugin implements 2 functions: BlockShiftUp() and BlockShiftDown(). When selecting blocks of text in visual mode, these functions will shift the block one up, or down. The textmanip plugin offers equal functionality but did not behave the way I would've expect it.|
|Copy the file into you plugins directory (i.e. ~/.vim/plugins). Now you need to define the keyboard mappings in your .vimrc file:
vmap <C-k> :call BlockShiftUp()<CR>
vmap <C-j> :call BlockShiftDown()<CR>
So, when you're in visual mode and selected a block of text, you now can shift it up/down by pressing [Ctrl]+[k] and [Ctrl]+[j].
Click on the package to download.
ip used for rating: 18.104.22.168