diff --git a/modules/home/vim/vimrc b/modules/home/vim/vimrc index 0bc8a24..8d02246 100644 --- a/modules/home/vim/vimrc +++ b/modules/home/vim/vimrc @@ -86,24 +86,23 @@ let mapleader = " " map pp :setlocal paste! " Fast saving -nmap w :w! +nmap w :w " Buffer switching -nmap bb :Buffers nmap bl :Buffers +nmap bd :bdelete nmap bn :bnext nmap bp :bprevious -nmap bd :bdelete +" List things +nmap hl :History/ nmap ll :Lines -nmap mm :Marks -nmap ww :Windows -nmap hh :History/ -nmap rr :reg +nmap ml :Marks +nmap rl :reg +nmap wl :Windows " finding files nmap ff :Files -nmap pp :FufDir set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} @@ -113,21 +112,23 @@ set statusline+=%* "let g:syntastic_auto_loc_list = 1 "let g:syntastic_check_on_open = 1 "let g:syntastic_check_on_wq = 0 -nmap sp :ALEFindReferences -nmap ss :ALESymbolSearch +nmap fr :ALEFindReferences nmap gd :ALEGoToDefinition -nmap ?? :ALEHover +nmap hh :ALEHover +nmap ss :ALESymbolSearch +nmap rn :ALERename +nmap rf :ALERefactor +nmap ca :ALE " Enable completion where available. " This setting must be set before ALE is loaded. let g:ale_completion_enabled = 1 - -let g:ale_fix_on_save = 1 - +let g:ale_fix_on_save = 0 let g:ale_warn_about_trailing_whitespace = 1 let g:ale_warn_about_trailing_lines = 1 let g:ale_completion_tsserver_autoimport = 1 let g:ale_languagetool_executable = 'languagetool-commandline' +let g:ale_set_quickfix = 1 "let g:ale_lint_on_text_changed = 'never' " You can disable this option too