vim: move ale definition to ale group

bretello 2020-12-07 15:37:27 +01:00
parent 5241e825d2
commit 56f0a4d6d4
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 1 additions and 1 deletions

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>