mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: move ale definition to ale group
This commit is contained in:
parent
5bf9ace8fb
commit
c15dd149d4
|
@ -11,7 +11,6 @@ command! W execute 'w !sudo tee % > /dev/null' <bar> edit!
|
||||||
|
|
||||||
"Reload vimrc on config change
|
"Reload vimrc on config change
|
||||||
map <leader>e :e! ~/.vimrc<CR>
|
map <leader>e :e! ~/.vimrc<CR>
|
||||||
map <leader>` :ALELint<CR>
|
|
||||||
" FIXME: This results in some weird conflict with lightline
|
" FIXME: This results in some weird conflict with lightline
|
||||||
autocmd! bufwritepost ~/.vimrc source ~/.vimrc
|
autocmd! bufwritepost ~/.vimrc source ~/.vimrc
|
||||||
autocmd! bufwritepost $DOTFILES/vim/* source ~/.vimrc
|
autocmd! bufwritepost $DOTFILES/vim/* source ~/.vimrc
|
||||||
|
@ -69,6 +68,7 @@ nmap <leader>A :ALEGoToDefinition<CR>
|
||||||
nmap <leader>n :ALEFindReferences<CR>
|
nmap <leader>n :ALEFindReferences<CR>
|
||||||
nmap <leader>h :ALEHover<CR>
|
nmap <leader>h :ALEHover<CR>
|
||||||
nmap <leader>r :ALERename<CR>
|
nmap <leader>r :ALERename<CR>
|
||||||
|
map <leader>` :ALELint<CR>
|
||||||
|
|
||||||
" call ack when pressing gv in visual
|
" call ack when pressing gv in visual
|
||||||
vnoremap <silent> gv :call VisualSelection('gv', '')<CR>
|
vnoremap <silent> gv :call VisualSelection('gv', '')<CR>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user