aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/searchop.vim
blob: d5884564d7493db6bf4b520c9685ec044889fd16 (plain)
1
2
3
4
5
6
7
8
9
10
11
if exists('g:loaded_searchop')
	finish
endif
let g:loaded_searchop = 1


nnoremap <silent> z* :set opfunc=searchop#SearchForward<CR>g@
vnoremap <silent> z* :<C-u>call searchop#SearchForward(visualmode(), 1)<CR>

nnoremap <silent> z# :set opfunc=searchop#SearchBackward<CR>g@
vnoremap <silent> z# :<C-u>call searchop#SearchBackward(visualmode(), 1)<CR>