Skip to content

Instantly share code, notes, and snippets.

@ntnn
Created March 31, 2015 01:45
Show Gist options
  • Save ntnn/1b8435d42c2d518c7557 to your computer and use it in GitHub Desktop.
Save ntnn/1b8435d42c2d518c7557 to your computer and use it in GitHub Desktop.
#vim: set ft=zsh
vim-skip-forward() {
CURSOR=$(($CURSOR + ($#RBUFFER/2)))
}
vim-skip-backward() {
CURSOR=$(($CURSOR - (($#LBUFFER/2)+1)))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment