|
|
|
|
@ -41,6 +41,7 @@ set hlsearch
|
|
|
|
|
set wrap |
|
|
|
|
set mouse+=a |
|
|
|
|
set noequalalways " don't auto resize windows when closing (eg: qf window) |
|
|
|
|
set colorcolumn=80,100 |
|
|
|
|
|
|
|
|
|
" don't clutter directories with backup files |
|
|
|
|
set nobackup |
|
|
|
|
@ -104,7 +105,7 @@ map <C-PageUp> :bprev<CR>
|
|
|
|
|
" jump to word under cursor in a preview window |
|
|
|
|
noremap <F2> :ptjump <c-r><c-w> <cr> |
|
|
|
|
" search for word under cursor in current directory |
|
|
|
|
noremap <F3> ::AsyncRun grep -RIn --exclude=tags <c-r><c-w> <cr> |
|
|
|
|
noremap <F3> ::AsyncRun grep -RIn --exclude=tags --exclude-dir=build <c-r><c-w> <cr> |
|
|
|
|
" close and delete current buffer |
|
|
|
|
noremap <F4> :bp\|bd #<cr> |
|
|
|
|
noremap <F5> :call RunMake()<cr> |
|
|
|
|
|