Skip to content

Move the changed line, shorts upward, longs downward.

Notifications You must be signed in to change notification settings

Ace-Who/vim-LineUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-LineUp

vim-LineUp-demo

Let the current line "climb" up and down on the basis of its width and the adjacent lines'.

This plugin is written for fun, but can be useful for some ones.

Usage

  • :LineUpOn: enable LineUp.
  • :LineUpOff: disable LineUp.
  • :LineUpReverse: reverse the movement direction, meaning the short goes down and the long goes up.

When enabled,

  • Once the text is changed except by an undo or redo operation, move the current line upward until encountering a line not longer than it, otherwise downward in like manner.
  • Never moves a line across any blank line.

Dependency

  • MappingMem plugin. Optional but recommended. Used to restore the mappings overriden or deleted by AutoCenter automatically when you turn it off.

About

Move the changed line, shorts upward, longs downward.

Resources

Stars

Watchers

Forks

Packages

No packages published