sponsor Vim development Vim logo Vim Book Ad

MoveLine : Moves Lines up or down

 script karma  Rating 12/13, Downloaded by 1363  Comments, bugs, improvements  Vim wiki

created by
Joe Chrzanowski
 
script type
syntax
 
description
Uses the 'e' and 'f' keys to move a line up or down.  Extremely useful when coding.
 
install details
put in the vim plugin folder
on linux its usually /usr/share/vim/vimxx/plugin
on windows I think its
C:\program files\vim\vimxx\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
moveline.vim 2 2006-04-16 6.0 Joe Chrzanowski Finally fixed it so the lines don't go off the screen anymore -- this one shouldn't have any problems in it.
moveline.vim 1.1 2006-03-27 6.0 Joe Chrzanowski Maps 'e' and 'f' instead of 'r' and 'f'
(e is the same as ctrl+<right>)
moveline.vim 1.0 2006-01-16 6.0 Joe Chrzanowski I added a warning in the comments: if you attempt to move a line past the last line of a file -- it will disappear.  tell me if you know how to fix that.
moveline.vim 1.0 2006-01-16 6.0 Joe Chrzanowski Initial upload
ip used for rating: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github