summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugin/perso.vim16
1 files changed, 12 insertions, 4 deletions
diff --git a/plugin/perso.vim b/plugin/perso.vim
index 54f865f..3479381 100755
--- a/plugin/perso.vim
+++ b/plugin/perso.vim
@@ -10,10 +10,8 @@ set t_Co=256
"map <leader>h <C-W>h
"map <leader>l <C-W>l
-imap <C-N> <C-P>
-
-
-imap <C-P> <C-N>
+inoremap <C-N> <C-P>
+inoremap <C-P> <C-N>
@@ -167,3 +165,13 @@ xmap ga <Plug>(EasyAlign)
" Start interactive EasyAlign for a motion/text object (e.g. gaip)
nmap ga <Plug>(EasyAlign)
+
+
+" Ale message config :
+let g:ale_echo_msg_error_str = 'E'
+let g:ale_echo_msg_warning_str = 'W'
+let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
+
+" Ale only on save
+let g:ale_lint_on_text_changed = 'never'
+let g:ale_lint_on_enter = 0