From 60a09c7393c524e684aec3394f73b1e6d4550750 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Mon, 26 Aug 2019 02:59:34 +0200 Subject: [PATCH] [vim] Move ale mapping to ale.vim --- .vim/ftdetect/ale.vim | 2 ++ .vim/vimrc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.vim/ftdetect/ale.vim b/.vim/ftdetect/ale.vim index 5c74b55..30e3546 100644 --- a/.vim/ftdetect/ale.vim +++ b/.vim/ftdetect/ale.vim @@ -5,6 +5,8 @@ let g:ale_sign_warning = "⚠" " Enable warnings about trailing whitespace for all files. let b:ale_warn_about_trailing_whitespace = 1 +nmap e :ALEDetail + " ALE colors highlight ALEWarning ctermbg=Yellow highlight ALEWarning ctermfg=Black diff --git a/.vim/vimrc b/.vim/vimrc index 895e81b..5f107d2 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -53,7 +53,6 @@ inoremap :ToggleMousea nmap :set nonumber! nmap :NERDTreeToggle set pastetoggle= -nmap e :ALEDetail " Enable vimrc files per project, e.g: ./project/.vimrc set exrc