Browse Source

Bind C-l to clear last search

Taylor Bockman 9 years ago
parent
commit
4a37a39f08
  1. 3
      dotfiles/config/nvim/init.vim

3
dotfiles/config/nvim/init.vim

@ -131,6 +131,9 @@ let g:rust_recommended_style=0
" Note noremap is a normal mode non-recursive mapping " Note noremap is a normal mode non-recursive mapping
" nnoremap and nmap make the bind only work in normal mode " nnoremap and nmap make the bind only work in normal mode
"map C-l to clear last search
:noremap <silent> <c-l> :nohls<cr><c-l>
let mapleader=" " let mapleader=" "
map <silent> <Leader>t :NERDTreeToggle<CR> map <silent> <Leader>t :NERDTreeToggle<CR>
nnoremap <silent> <Leader>r :call NumberToggle()<CR> nnoremap <silent> <Leader>r :call NumberToggle()<CR>

Loading…
Cancel
Save