vimrc: toggle search highlight
This commit is contained in:
parent
c5fc5eb133
commit
9ff6a3d51a
1 changed files with 2 additions and 1 deletions
3
.vimrc
3
.vimrc
|
@ -2,8 +2,9 @@
|
||||||
set noswapfile
|
set noswapfile
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
|
||||||
" paste toggle
|
|
||||||
nmap <leader>p :set paste!<CR>
|
nmap <leader>p :set paste!<CR>
|
||||||
|
nmap <leader>h :set hlsearch!<CR>
|
||||||
|
|
||||||
" special chars
|
" special chars
|
||||||
nmap <leader>l :set list!<CR>
|
nmap <leader>l :set list!<CR>
|
||||||
set listchars=tab:▸\ ,eol:¬
|
set listchars=tab:▸\ ,eol:¬
|
||||||
|
|
Loading…
Reference in a new issue