sponsor Vim development Vim logo Vim Book Ad

move : Move lines and selected text up and down

 script karma  Rating 73/34, Downloaded by 3329  Comments, bugs, improvements  Vim wiki

created by
Matthias Vogelgesang
 
script type
utility
 
description
move is a Vim plugin that moves lines and selections in a visual manner using key maps in normal and visual mode.

Read more about the plugin at

   http://bloerg.net/2013/08/10/shift-lines-and-selections-faster-with-vim-move.html

or watch a short demo screen cast for a first impression

    http://i.imgur.com/gIw2CCD.gif

Source code and some more details are available at

    https://github.com/matze/vim-move
 
install details
Use either Pathogen, Vundle or NeoBundle, e.g. add

    Bundle 'matze/vim-move'

to your .vimrc or install manually using the standard Vim way. For more information have a look at

    http://vimdoc.sourceforge.net/htmldoc/usr_05.html#add-plugin
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-move-1.4.tar.gz 1.4 2018-08-19 7.0 Matthias Vogelgesang * New functionality for moving horizontally
* Add g:move_past_end_of_line to control the move to the right.
vim-move-1.3.tar.gz 1.3 2014-03-18 7.0 Matthias Vogelgesang * Add g:move_auto_indent option to en-/disable auto indentation
* Do not modify readonly buffers
* Silence :move commands to avoid first-time errors on read-only files.
vim-move-1.2.tar.gz 1.2 2013-08-14 7.0 Matthias Vogelgesang * Add key modifier for bindings (@vitalk)
* Use <A-j> and <A-k> in normal and visual mode (@vitalk)
* Add <Plug>Move{Block,Line}HalfPage{Up,Down} to move text in larger increments.
vim-move-1.1.tar.gz 1.1 2013-08-10 7.0 Matthias Vogelgesang Minor bug fixes.
vim-move-1.0.tar.gz 1.0 2013-08-10 7.0 Matthias Vogelgesang Initial upload
ip used for rating: 18.97.14.83

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github