sponsor Vim development Vim logo Vim Book Ad

BinarySearchMove : implements a binary search algorithm to a cursor movement

 script karma  Rating 4/3, Downloaded by 601  Comments, bugs, improvements  Vim wiki

created by
Sply Splyeff
 
script type
game
 
description
Move a cursor with binary search principle - each step is twice shorter than previous.
This requires log2(N) steps in a worth case to position in a line with a length N (7 keypresses for a 120 chars line).

left/right movement are bound to H and L
up/down to <Leader>u and <Leader>d
 
install details
Place in a plugin directory. Tune key binding if needed.
 

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
bsmove.vim 1 2007-01-08 6.0 Sply Splyeff Initial upload
ip used for rating: 3.138.110.119

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