Set mark when you stop typing. You can return where you were just before.
Default behavior: The cursor position is marked a
4 seconds after the last key stroke, and you can return there by `a
.
timer
is required.
- nvim > v0.1.5
- vim > v7.4
Use your favorite plugin manager.
For exapmle with dein.vim,
[[plugins]]
repo = 'KosukeMizuno/vim-cursorholdmark'
Available options and their defaults are followings.
Your favorite marker.
let g:cursorholdmark_mark = 'a'
Waiting time in millisecond.
let g:cursorholdmark_time = 4000
CursorHoldMarked
event will be emitted after marking.
This plugin is licensed MIT, see LICENSE.