Adde ALE back to the vimrc

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2026-01-06 05:43:50 +0100
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2026-01-06 05:43:50 +0100
Commit 4279a5aa27adf603260e5c2b767e6bc16399107f (patch)
-rw-r--r-- .vimrc 13
1 files changed, 13 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
...
5
	Plug 'tpope/vim-commentary'
5
	Plug 'tpope/vim-commentary'
6
	Plug 'mitjafelicijan/sniper.vim'
6
	Plug 'mitjafelicijan/sniper.vim'
7
	Plug 'ctrlpvim/ctrlp.vim'
7
	Plug 'ctrlpvim/ctrlp.vim'
  
8
	Plug 'dense-analysis/ale'
8
call plug#end()
9
call plug#end()
9
  
10
  
10
set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4
11
set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4
...
21
nnoremap <Leader>q :nohlsearch<cr>
22
nnoremap <Leader>q :nohlsearch<cr>
22
nnoremap <Leader>c :silent call system('ctags --c++-kinds=+p -R .')<CR>
23
nnoremap <Leader>c :silent call system('ctags --c++-kinds=+p -R .')<CR>
23
nnoremap <leader>w :vimgrep /<C-r><C-w>/gj **/*<CR>:copen<CR>
24
nnoremap <leader>w :vimgrep /<C-r><C-w>/gj **/*<CR>:copen<CR>
  
25
nnoremap <C-k> :ALEHover<cr>
  
26
nnoremap <C-j> :ALEDetail<cr>
  
27
  
  
28
nmap <silent> gr :ALEFindReferences<cr>
  
29
nmap <silent> gd :ALEGoToDefinition<cr>
  
30
nmap <silent> re :ALERename<cr>
24
  
31
  
25
let g:ctrlp_use_caching = 0
32
let g:ctrlp_use_caching = 0
26
let g:ctrlp_working_path_mode = ''
33
let g:ctrlp_working_path_mode = ''
  
34
  
  
35
let g:ale_hover_to_floating_preview = 1
  
36
let g:ale_detail_to_floating_preview = 1
  
37
let g:ale_floating_window_border = 0
  
38
let g:ale_virtualtext_cursor = 0
  
39
let g:ale_set_quickfix = 1