From 56f0a4d6d40c7532b1766cc1d4124eb24ba2b582 Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 7 Dec 2020 15:37:27 +0100 Subject: [PATCH] vim: move ale definition to ale group --- vim/shortcuts.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index 408452b..7614e40 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -11,7 +11,6 @@ command! W execute 'w !sudo tee % > /dev/null' edit! "Reload vimrc on config change map e :e! ~/.vimrc -map ` :ALELint " 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 A :ALEGoToDefinition nmap n :ALEFindReferences nmap h :ALEHover nmap r :ALERename +map ` :ALELint " call ack when pressing gv in visual vnoremap gv :call VisualSelection('gv', '')