diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -21,12 +21,13 @@ nnoremap <C-b> :CtrlPBuffer<cr> | |||
| 21 | nnoremap <C-k> :ALEHover<cr> | 21 | nnoremap <C-k> :ALEHover<cr> |
| 22 | nnoremap <C-j> :ALEDetail<cr> | 22 | nnoremap <C-j> :ALEDetail<cr> |
| 23 | nnoremap <Leader>r :let @/ = ''<CR> | 23 | nnoremap <Leader>r :let @/ = ''<CR> |
| 24 | nnoremap <Leader>f :%!clang-format -style=file<CR>:w<CR> | ||
| 24 | 25 | ||
| 25 | nmap <silent> gr :ALEFindReferences<cr> | 26 | nmap <silent> gr :ALEFindReferences<cr> |
| 26 | nmap <silent> gd :ALEGoToDefinition<cr> | 27 | nmap <silent> gd :ALEGoToDefinition<cr> |
| 27 | nmap <silent> re :ALERename<cr> | 28 | nmap <silent> re :ALERename<cr> |
| 28 | 29 | ||
| 29 | let g:ale_completion_enabled = 0 | 30 | let g:ale_completion_enabled = 1 |
| 30 | let g:ale_hover_to_floating_preview = 1 | 31 | let g:ale_hover_to_floating_preview = 1 |
| 31 | let g:ale_detail_to_floating_preview = 1 | 32 | let g:ale_detail_to_floating_preview = 1 |
| 32 | let g:ale_floating_window_border = 0 | 33 | let g:ale_floating_window_border = 0 |
