Re-arrange init-env script
This commit is contained in:
+8
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user