1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 15:21:30 +01:00

vim: move ale definition to ale group

This commit is contained in:
bretello 2020-12-07 15:37:27 +01:00
parent 5bf9ace8fb
commit c15dd149d4
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -11,7 +11,6 @@ command! W execute 'w !sudo tee % > /dev/null' <bar> edit!
"Reload vimrc on config change
map <leader>e :e! ~/.vimrc<CR>
map <leader>` :ALELint<CR>
" FIXME: This results in some weird conflict with lightline
autocmd! bufwritepost ~/.vimrc source ~/.vimrc
autocmd! bufwritepost $DOTFILES/vim/* source ~/.vimrc
@ -69,6 +68,7 @@ nmap <leader>A :ALEGoToDefinition<CR>
nmap <leader>n :ALEFindReferences<CR>
nmap <leader>h :ALEHover<CR>
nmap <leader>r :ALERename<CR>
map <leader>` :ALELint<CR>
" call ack when pressing gv in visual
vnoremap <silent> gv :call VisualSelection('gv', '')<CR>