aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-02-04 22:40:34 +0100
committerTeddy Wing2020-02-04 22:52:05 +0100
commit52f545dca74adedf5b1d88295749c91e0821647b (patch)
tree2ea7ba054e5bcdd709a39fddfa18823f01e45e89
parent15fca46f502c541041788f96512f8a1a92b7fd57 (diff)
downloadvim-searchop-52f545dca74adedf5b1d88295749c91e0821647b.tar.bz2
plugin/searchop.vim: Use z/ mapping
Seems right, since I'm already using `g/` in vim-nohai. However, consider using a `#`- `*`-based mapping instead to handle forward and backward searching.
-rw-r--r--plugin/searchop.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/searchop.vim b/plugin/searchop.vim
index 41f0f6d..8a24ede 100644
--- a/plugin/searchop.vim
+++ b/plugin/searchop.vim
@@ -1,5 +1,5 @@
-nnoremap <silent> <leader>a :set opfunc=Search<CR>g@
-vnoremap <silent> <leader>a :<C-u>call Search(visualmode(), 1)<CR>
+nnoremap <silent> z/ :set opfunc=Search<CR>g@
+vnoremap <silent> z/ :<C-u>call Search(visualmode(), 1)<CR>
function! Search(type, ...)