aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/searchop.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/searchop.vim')
-rw-r--r--plugin/searchop.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/searchop.vim b/plugin/searchop.vim
index c82e016..d588456 100644
--- a/plugin/searchop.vim
+++ b/plugin/searchop.vim
@@ -1,3 +1,9 @@
+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>