commit 41ad750f2e7beacc30c19d3acb53209ffc97a3ed (patch)
parent 948b7e0e87cf61c131780a568f1f75255ca9643a
Author: Alexander Karle <akarle@umass.edu>
Date: Mon, 9 Apr 2018 23:51:43 -0400
Minor changes to vim confing
Diffstat:
4 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim
@@ -4,4 +4,4 @@
" instead:
" zc -- close a fold by indent (at cursor until end indent)
" zo -- open a closed fold
-set foldmethod=indent
+setlocal foldmethod=indent
diff --git a/vim/keys.vim b/vim/keys.vim
@@ -10,8 +10,8 @@ nnoremap <C-k> <C-w>k
nnoremap <C-h> <C-w>h
nnoremap <C-l> <C-w>l
-"Map ctrl-p to fuzzy finder
-nnoremap <C-p> :GFiles<CR>
+"Map ctrl-p to toggle paste mode
+nnoremap <C-p> :set paste!<CR>
" HTML autoclose tag
iabbrev </ </<C-X><C-O>
diff --git a/vim/plugins.vim b/vim/plugins.vim
@@ -21,7 +21,7 @@ Plug 'scrooloose/nerdcommenter'
Plug 'airblade/vim-gitgutter'
" Syntastic for syntax checks
-Plug 'vim-syntastic/syntastic', { 'for': 'python' }
+"Plug 'vim-syntastic/syntastic', { 'for': 'python' }
" todo task plugin
Plug 'irrationalistic/vim-tasks'
@@ -30,7 +30,7 @@ Plug 'irrationalistic/vim-tasks'
Plug 'lervag/vimtex', { 'for': 'tex' }
" fzf -- fuzzy finder
-Plug 'junegunn/fzf.vim'
+"Plug 'junegunn/fzf.vim'
" surround for parens and such
Plug 'tpope/vim-surround'
diff --git a/vim/pluginsettings.vim b/vim/pluginsettings.vim
@@ -1,20 +1,21 @@
" Syntastic Default Settings
set statusline+=%#warningmsg#
-set statusline+=%{SyntasticStatuslineFlag()}
+"set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
+let g:airline#extensions#tabline#enabled = 1
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 1
-let g:syntastic_check_on_open = 0
-let g:syntastic_check_on_wq = 0
+"let g:syntastic_check_on_open = 0
+"let g:syntastic_check_on_wq = 0
-let g:syntastic_python_checkers = ['flake8']
-let g:syntastic_python_flake8_post_args='--ignore=E116'
+"let g:syntastic_python_checkers = ['flake8']
+"let g:syntastic_python_flake8_post_args='--ignore=E116'
" vimtex stuff
" Set pdf viewer to sim
let g:vimtex_view_method='skim'
"for airline status bar -- need to include font
-let g:airline_powerline_fonts = 1
+let g:airline_powerline_fonts = 0
let g:airline_theme = 'onedark'