Jump to next/previous matches added with matchaddpos()
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugin
README.markdown

README.markdown

Jump to next/previous matches added with matchaddpos().

It just defines one function: MatchJump(group, dir). You're expected to map that yourself. For example to a command:

command! GoNextId :call MatchJump('goSameId', 'next')
command! GoPrevId :call MatchJump('goSameId', 'prev')

Or key:

nnoremap <Leader>n :call MatchJump('goSameId', 'next')<CR>
nnoremap <Leader>N :call MatchJump('goSameId', 'prev')<CR>