Search configuration

This commit is contained in:
Mathieu Maret 2015-07-08 14:15:53 +02:00
parent c247bfdceb
commit 37959f5a27

17
.vimrc
View File

@ -116,6 +116,23 @@ else
"set indentexpr ""
endif
""""""""""
" SEARCH "
""""""""""
" highlight search
set hlsearch
" unhighlight current search
map <silent> <F11> :nohlsearch<CR>
imap <F11> <ESC><F11>a
" highlight search while typing
set incsearch
" show matching brackets -> key %
set showmatch
" tenths of a second before blink matching brackets
set mat=5
""""""""""
" WINDOW "
""""""""""