Re-arrange init-env script

This commit is contained in:
Andrew Miner
2021-12-26 09:59:35 -07:00
parent ced8cdc418
commit eeac4c7ea8
5 changed files with 581 additions and 2722 deletions
+8 -6
View File
@@ -134,7 +134,7 @@ let g:NERDTreeIgnore = ['__pycache__', '\.pyc$', 'node_modules']
" w0rp/ale
let g:airline#extensions#ale#enabled = 1
let g:ale_completion_delay = 500
let g:ale_completion_enabled = 0
let g:ale_completion_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_lint_on_text_changed = 'never'
let g:ale_open_list = 1
@@ -168,19 +168,21 @@ map <F6> :set hlsearch!<CR>
map <F7> :cp<CR>
map <F8> :copen<CR>
map <F9> :cn<CR>
map <F10> :tselect<CR>
map <F10> :ALEFindReferences<CR>
map <F11> :ALEGoToDefinition<CR>
map <F12> :ALEGoToTypeDefinition<CR>
nmap ; :BufExplorer<CR>
nmap ' :BufExplorer<CR>
" Local Overrides ######################################################################################################
if !empty(glob("$HOME/.vimrc.local"))
source $HOME/.vimrc.local
endif
silent! source $HOME/.vimrc.local " user or machine specific .vimrc
silent! source .vimrc.local " project specific .vimrc
" File-Type Specific Settings ##########################################################################################
autocmd BufRead COMMIT_EDITMSG set textwidth=70 colorcolumn=70
autocmd BufRead Makefile setlocal noexpandtab
autocmd BufRead *.coffee set textwidth=120 colorcolumn=120
autocmd BufRead *.mako set syntax=mako
autocmd BufRead *.go set noexpandtab