aboutsummaryrefslogtreecommitdiff
path: root/core/plugins.vim
diff options
context:
space:
mode:
Diffstat (limited to 'core/plugins.vim')
-rw-r--r--core/plugins.vim23
1 files changed, 8 insertions, 15 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index f4d2fa3..18e4147 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -63,21 +63,14 @@ onoremap <silent> F :call sneak#wrap(v:operator, 2, 1, 1, 1)<CR>
" or previous match
let g:sneak#s_next = 1
-"""""""""""""""""""""""""""""vim-anzu settings"""""""""""""""""""""""
-nmap n <Plug>(anzu-n-with-echo)zzzv
-nmap N <Plug>(anzu-N-with-echo)zzzv
-
-" Maximum number of words to search
-let g:anzu_search_limit = 500000
-
-" Message to show for search pattern
-let g:anzu_status_format = '/%p [%i/%l]'
-
-"""""""""""""""""""""""""""""vim-asterisk settings"""""""""""""""""""""
-nmap * <Plug>(asterisk-z*)
-nmap # <Plug>(asterisk-z#)
-xmap * <Plug>(asterisk-z*)
-xmap # <Plug>(asterisk-z#)
+""""""""""""""""""""""""""""" settings for nvim-hlslens"""""""""""""""
+noremap <silent> n <Cmd>execute('normal! ' . v:count1 . 'nzzzv')<CR>
+ \<Cmd>lua require('hlslens').start()<CR>
+noremap <silent> N <Cmd>execute('normal! ' . v:count1 . 'Nzzzv')<CR>
+ \<Cmd>lua require('hlslens').start()<CR>
+
+map * <Plug>(asterisk-z*)<Cmd>lua require('hlslens').start()<CR>
+map # <Plug>(asterisk-z#)<Cmd>lua require('hlslens').start()<CR>
"""""""""""""""""""""""""""""LeaderF settings"""""""""""""""""""""
" Do not use cache file