hlsearch and incsearch

master
Yash Karandikar 2 months ago
parent 4cfe18fcec
commit b069f55faa
  1. 5
      .vimrc

@ -6,6 +6,8 @@ set showtabline=2
set number
set expandtab
set encoding=UTF-8
set hlsearch
set incsearch
" install vim-plug if it's not installed already
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
@ -41,6 +43,9 @@ map <C-z> :tabp<CR>
map <C-x> :tabn<CR>
map <C-c> :tabnew<CR>
" keybinding for removing search highlights
nnoremap \\ :noh<CR>
" NERDTree settings
nnoremap <C-t> :NERDTreeToggle<CR>
let g:NERDTreeAutoDeleteBuffer = 1

Loading…
Cancel
Save