aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-09 00:20:13 +0800
committerjdhao <jdhao@hotmail.com>2020-10-09 00:20:13 +0800
commit2b0feddde733d6d320ba3cb79c61146faa03d6d9 (patch)
treec9f2c499ec137cb01211d74d380bf7ba82fd6ee6 /plugins.vim
parentec316b2a82620a47da2f90480ac8f7e827b7f088 (diff)
remove is.vim (the cooperation between plugins is nightmare)
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim19
1 files changed, 5 insertions, 14 deletions
diff --git a/plugins.vim b/plugins.vim
index 4283bce..3f9689c 100644
--- a/plugins.vim
+++ b/plugins.vim
@@ -63,8 +63,6 @@ Plug 'jeetsukumaran/vim-pythonsense'
" Super fast movement with vim-sneak
Plug 'justinmk/vim-sneak'
-" Improve vim incsearch, clear search highlight automatically
-Plug 'haya14busa/is.vim'
Plug 'PeterRincker/vim-searchlight'
" Show match number for incsearch
@@ -413,15 +411,10 @@ onoremap <silent> F :call sneak#wrap(v:operator, 2, 1, 1, 1)<CR>
" or previous match
let g:sneak#s_next = 1
-""""""""""""""""""""""""""""is.vim settings"""""""""""""""""""""""
-" To make is.vim work together well with vim-anzu and put current match in
-" the center of the window.
-" `zz`: put cursor line in center of the window.
-" `zv`: open a fold to reveal the text when cursor step into it.
-nmap n <Plug>(is-nohl)<Plug>(anzu-n-with-echo)zzzv
-nmap N <Plug>(is-nohl)<Plug>(anzu-N-with-echo)zzzv
-
"""""""""""""""""""""""""""""vim-anzu settings"""""""""""""""""""""""
+nmap n <Plug>(anzu-n-with-echo)zzzv
+nmap N <Plug>(anzu-N-with-echo)zzzv
+
" Do not show search index in statusline since it is shown on command line
let g:airline#extensions#anzu#enabled = 0
@@ -429,10 +422,8 @@ let g:airline#extensions#anzu#enabled = 0
let g:anzu_search_limit = 500000
"""""""""""""""""""""""""""""vim-asterisk settings"""""""""""""""""""""
-nmap * <Plug>(asterisk-z*)<Plug>(is-nohl-1)
-nmap # <Plug>(asterisk-z#)<Plug>(is-nohl-1)
-nmap g* <Plug>(asterisk-gz*)<Plug>(is-nohl-1)
-nmap g# <Plug>(asterisk-gz#)<Plug>(is-nohl-1)
+nmap * <Plug>(asterisk-z*)
+nmap # <Plug>(asterisk-z#)
"""""""""""""""""""""""""""""LeaderF settings"""""""""""""""""""""
" Do not use cache file