aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2019-07-24 20:08:50 +0200
committerCamil Staps2019-07-24 20:08:50 +0200
commit4264ff57eaf388516bd84b688196e78f051c8436 (patch)
tree681972f358a3b5064fb0f9eabf897f97cbf2e19d
parentUse RVM to install ruby (rbenv has no 2.6.3 yet) (diff)
Improvements on vim searching: show nr. of matches; incsearch; hlsearch
-rw-r--r--vim/.vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 87a7462..3442fd5 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -36,6 +36,7 @@ Plugin 'tpope/vim-surround' " cs)] to replace parenthesis pairs, e.g.
Plugin 'rickhowe/diffchar.vim' " diffing on character level
Plugin 'airblade/vim-gitgutter' " git diff in gutter
Plugin 'godlygeek/tabular' " tabularize things
+Plugin 'google/vim-searchindex' " shows '[N/M]' when searching
call vundle#end()
" End Vundle
@@ -58,6 +59,10 @@ set fillchars+=fold:\
set statusline=
set switchbuf=usetab,newtab
+set incsearch
+set hlsearch
+map <LocalLeader>q :nohlsearch<CR>
+
filetype plugin indent on
syntax enable