From 41ad750f2e7beacc30c19d3acb53209ffc97a3ed Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Mon, 9 Apr 2018 23:51:43 -0400 Subject: [PATCH] Minor changes to vim confing --- vim/ftplugin/python.vim | 2 +- vim/keys.vim | 4 ++-- vim/plugins.vim | 4 ++-- vim/pluginsettings.vim | 13 +++++++------ 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index 8dc0499..363f1da 100644 --- 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 index ba3f3fc..7630308 100644 --- a/vim/keys.vim +++ b/vim/keys.vim @@ -10,8 +10,8 @@ nnoremap k nnoremap h nnoremap l -"Map ctrl-p to fuzzy finder -nnoremap :GFiles +"Map ctrl-p to toggle paste mode +nnoremap :set paste! " HTML autoclose tag iabbrev diff --git a/vim/plugins.vim b/vim/plugins.vim index 7cfc792..2a7b6aa 100644 --- 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 index 626e984..4b1e472 100644 --- 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' -- libgit2 0.28.4