Skip to content

pchampio/vim-edgemotion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EdgeMotion

<Plug>(edgemotion-j) and <Plug>(edgemotion-k) motion is like j, k, but stops at edge only.

vim-edgemotion demo

Inspired by EdgeMotion in atom-vim-mode-plus

vmp: the most ambitious vim emulator

Usage

map <C-j> <Plug>(edgemotion-j)
map <C-k> <Plug>(edgemotion-k)

The key mapping can be preceded by a number, if so, edgemotion will jump X time.

Option

let g:edgemotion#line_numbers_overwrite = 1

If the value of this variable is non-zero, edgemotion will overwrite the line numbers, to contain the edgemotion jump count number. (Neovim only)

Author

haya14busa (https://github.com/haya14busa) & Drakirus (https://github.com/Drakirus/)

Document

:h edgemotion.txt

Changelog

  • Drakirus add line_numbers_overwrite
  • Drakirus add support for count number
  • haya14busa initial release

About

Move to the edge!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 93.9%
  • Shell 6.1%