aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-02-05 21:59:31 +0100
committerTeddy Wing2020-02-05 21:59:31 +0100
commit586a637241fd00b6f3cf34d725fb923fad9007de (patch)
tree8844df6cf9d7efdcec23920048d154a307e4753d
parent5c81308422ffdabce506e084e83fa883be535a1c (diff)
downloadvim-searchop-586a637241fd00b6f3cf34d725fb923fad9007de.tar.bz2
plugin/searchop.vim: Change search forward mappings to `z*`
Now that we have both forward and backward directions, use #/*-based mappings.
-rw-r--r--plugin/searchop.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/searchop.vim b/plugin/searchop.vim
index a0b9835..f0a7fc6 100644
--- a/plugin/searchop.vim
+++ b/plugin/searchop.vim
@@ -1,5 +1,5 @@
-nnoremap <silent> z/ :set opfunc=SearchForward<CR>g@
-vnoremap <silent> z/ :<C-u>call SearchForward(visualmode(), 1)<CR>
+nnoremap <silent> z* :set opfunc=SearchForward<CR>g@
+vnoremap <silent> z* :<C-u>call SearchForward(visualmode(), 1)<CR>
nnoremap <silent> z# :set opfunc=SearchBackward<CR>g@
vnoremap <silent> z# :<C-u>call SearchBackward(visualmode(), 1)<CR>