diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 13 |
1 files changed, 7 insertions, 6 deletions
| @@ -17,15 +17,16 @@ colorscheme wildcharm | |||
| 17 | 17 | ||
| 18 | nnoremap <C-Right> :bnext<CR> | 18 | nnoremap <C-Right> :bnext<CR> |
| 19 | nnoremap <C-Left> :bprevious<CR> | 19 | nnoremap <C-Left> :bprevious<CR> |
| 20 | nnoremap <C-q> :copen<CR> | 20 | nnoremap <C-q> :CtrlPQuickfix<CR> |
| 21 | nnoremap <C-b> :CtrlPBuffer<CR> | 21 | nnoremap <C-b> :CtrlPBuffer<CR> |
| 22 | nnoremap <Leader>q :nohlsearch<CR> | ||
| 23 | nnoremap <Leader>c :silent call system('ctags --c++-kinds=+p -R .')<CR> | ||
| 24 | nnoremap <leader>w :vimgrep /<C-r><C-w>/gj **/*<CR>:copen<CR> | ||
| 25 | nnoremap <C-k> :ALEHover<CR> | 22 | nnoremap <C-k> :ALEHover<CR> |
| 26 | nnoremap <C-j> :ALEDetail<CR> | 23 | nnoremap <C-j> :ALEDetail<CR> |
| 24 | nnoremap <Leader>d :bd<CR> | ||
| 25 | nnoremap <Leader>q :nohlsearch<CR> | ||
| 26 | nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:CtrlPQuickfix<CR> | ||
| 27 | nnoremap <leader>w :vimgrep /<C-r><C-w>/gj **/*<CR>:CtrlPQuickfix<CR> | ||
| 27 | 28 | ||
| 28 | nmap <silent> gr :ALEFindReferences<CR> | 29 | nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:CtrlPQuickfix<CR> |
| 29 | nmap <silent> gd :ALEGoToDefinition<CR> | 30 | nmap <silent> gd :ALEGoToDefinition<CR> |
| 30 | nmap <silent> re :ALERename<CR> | 31 | nmap <silent> re :ALERename<CR> |
| 31 | 32 | ||
| @@ -36,4 +37,4 @@ let g:ale_hover_to_floating_preview = 1 | |||
| 36 | let g:ale_detail_to_floating_preview = 1 | 37 | let g:ale_detail_to_floating_preview = 1 |
| 37 | let g:ale_floating_window_border = 0 | 38 | let g:ale_floating_window_border = 0 |
| 38 | let g:ale_virtualtext_cursor = 0 | 39 | let g:ale_virtualtext_cursor = 0 |
| 39 | let g:ale_set_quickfix = 1 | 40 | let g:ale_set_quickf = 1 |
