mirror of https://git.decapod.one/brethil/dotfiles
vim: move ale definition to ale group
parent
5241e825d2
commit
56f0a4d6d4
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue