[vim] /// repeat previous pattern for search

This commit is contained in:
Fernando Schauenburg 2018-04-15 11:10:26 +02:00
parent 27eefff26d
commit 0cd38be0cd

View file

@ -126,9 +126,9 @@ set nocompatible
vnoremap > ><cr>gv
vnoremap < <<cr>gv
" case insensitive searching
" better searching (case insensitive & expand on previous)
nnoremap // /\c
nnoremap ?? ?\c
nnoremap /// /<C-R>/
" window resizing similar to the way I have tmux set up
nnoremap <c-w><c-k> 5<c-w>+