aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2025-02-23 09:22:25 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2025-02-23 09:22:25 +0100
commitdc256484f27b1ebc662fa425b9717546b40c7237 (patch)
treec258e864587f2250a664b75bed217fa8fecb1b15 /.vimrc
parent22baa11c070b8545e74faf496e707b9147e4d5e9 (diff)
downloaddotfiles-dc256484f27b1ebc662fa425b9717546b40c7237.tar.gz
Update
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index b2f361e..434faad 100644
--- a/.vimrc
+++ b/.vimrc
@@ -21,12 +21,13 @@ nnoremap <C-b> :CtrlPBuffer<cr>
21nnoremap <C-k> :ALEHover<cr> 21nnoremap <C-k> :ALEHover<cr>
22nnoremap <C-j> :ALEDetail<cr> 22nnoremap <C-j> :ALEDetail<cr>
23nnoremap <Leader>r :let @/ = ''<CR> 23nnoremap <Leader>r :let @/ = ''<CR>
24nnoremap <Leader>f :%!clang-format -style=file<CR>:w<CR>
24 25
25nmap <silent> gr :ALEFindReferences<cr> 26nmap <silent> gr :ALEFindReferences<cr>
26nmap <silent> gd :ALEGoToDefinition<cr> 27nmap <silent> gd :ALEGoToDefinition<cr>
27nmap <silent> re :ALERename<cr> 28nmap <silent> re :ALERename<cr>
28 29
29let g:ale_completion_enabled = 0 30let g:ale_completion_enabled = 1
30let g:ale_hover_to_floating_preview = 1 31let g:ale_hover_to_floating_preview = 1
31let g:ale_detail_to_floating_preview = 1 32let g:ale_detail_to_floating_preview = 1
32let g:ale_floating_window_border = 0 33let g:ale_floating_window_border = 0