search: enable incremental search

Co-Authored-by: iGor milhit <igor@milhit.ch>
main
iGor milhit 2021-01-17 18:01:51 +01:00
parent cb020beafc
commit 4a590babed
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 3 additions and 1 deletions

View File

@ -58,6 +58,7 @@ set showmode " Sh
set showmatch " Show matching brackets. set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching set smartcase " Do smart case matching
set incsearch " Enable incremental search
set hlsearch " Highlight search set hlsearch " Highlight search
let g:rg_highlight='true' " Activate ripgrep Highlighting let g:rg_highlight='true' " Activate ripgrep Highlighting
nnoremap <silent> <C-l> :nohlsearch<CR><C-l> " set C-l to :nohlsearch nnoremap <silent> <C-l> :nohlsearch<CR><C-l> " set C-l to :nohlsearch
@ -70,9 +71,10 @@ autocmd FileType gitcommit set textwidth=72 " Wr
set colorcolumn=+1 " Colors the tw+1 column set colorcolumn=+1 " Colors the tw+1 column
autocmd FileType gitcommit set colorcolumn+=51 " Add a colored column at 51 chars for git message titles autocmd FileType gitcommit set colorcolumn+=51 " Add a colored column at 51 chars for git message titles
set number " Line numbering set number " Line numbering
au TermOpen * setlocal listchars= nonumber norelativenumber " Start terminal buffer without line numbering
set cursorline " Color the cursor line set cursorline " Color the cursor line
set modeline " Support modelines set modeline " Support modelines
" Terminal
au TermOpen * setlocal listchars= nonumber norelativenumber " Start terminal buffer without line numbering
" Spelling activated, by default for French and English " Spelling activated, by default for French and English
set spell set spell