From 3b654c85cc00f3a7cd7f2d2206dae226c094c783 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Tue, 4 Aug 2020 23:07:05 -0400 Subject: [PATCH] Cleanup end of line whitespace --- vim/vimrc | 108 +++++++++++++++++++++++++++--------------------------- 1 file changed, 55 insertions(+), 53 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 19edddb..d641149 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -64,21 +64,21 @@ Plugin 'tomlion/vim-solidity' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required -"Powerline setup -"set guifont=PowerLineSymbols\ DejaVu\ Sans\ Mono\ for\ Powerline\ 9 -" set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ Plus\ Nerd\ File\ Types\ 9 -set guifont=Sauce\ Code\ Powerline\ Plus\ Nerd\ File\ Types\ 9 -" set guifont=Anonymous\ Pro\ for\ Powerline\ Regular/9 -let g:Powerline_symbols = 'fancy' -let g:airline_powerline_fonts = 1 -set laststatus=2 - -"NerdTree map to +"Powerline setup +"set guifont=PowerLineSymbols\ DejaVu\ Sans\ Mono\ for\ Powerline\ 9 +" set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ Plus\ Nerd\ File\ Types\ 9 +set guifont=Sauce\ Code\ Powerline\ Plus\ Nerd\ File\ Types\ 9 +" set guifont=Anonymous\ Pro\ for\ Powerline\ Regular/9 +let g:Powerline_symbols = 'fancy' +let g:airline_powerline_fonts = 1 +set laststatus=2 + +"NerdTree map to map :NERDTreeToggle colorscheme jellybeans -"Make python-friendly tabs +"Make python-friendly tabs set tabstop=4 set shiftwidth=4 set smarttab @@ -100,57 +100,57 @@ augroup END set mouse=a " python-mode settings -" Python-mode -" Activate rope -" Keys: -" K Show python docs -" Rope autocomplete -" g Rope goto definition -" d Rope show documentation -" f Rope find occurrences -" b Set, unset breakpoint (g:pymode_breakpoint enabled) -" [[ Jump on previous class or function (normal, visual, operator -" modes) -" ]] Jump on next class or function (normal, visual, operator -" modes) -" [M Jump on previous class or method (normal, visual, operator -" modes) -" ]M Jump on next class or method (normal, visual, operator -" modes) -let g:pymode_rope = 0 - -" Documentation -let g:pymode_doc = 1 -let g:pymode_doc_key = 'K' +" Python-mode +" Activate rope +" Keys: +" K Show python docs +" Rope autocomplete +" g Rope goto definition +" d Rope show documentation +" f Rope find occurrences +" b Set, unset breakpoint (g:pymode_breakpoint enabled) +" [[ Jump on previous class or function (normal, visual, operator +" modes) +" ]] Jump on next class or function (normal, visual, operator +" modes) +" [M Jump on previous class or method (normal, visual, operator +" modes) +" ]M Jump on next class or method (normal, visual, operator +" modes) +let g:pymode_rope = 0 -"Linting -let g:pymode_lint = 1 -"let g:pymode_lint_checker = "pyflakes,pep8" -let g:pymode_lint_checker = "flake8,pep8" -" Auto check on save -let g:pymode_lint_write = 1 +" Documentation +let g:pymode_doc = 1 +let g:pymode_doc_key = 'K' + +"Linting +let g:pymode_lint = 1 +"let g:pymode_lint_checker = "pyflakes,pep8" +let g:pymode_lint_checker = "flake8,pep8" +" Auto check on save +let g:pymode_lint_write = 1 " Support virtualenv let g:pymode_virtualenv = 1 -" Enable breakpoints plugin - let g:pymode_breakpoint = 1 - let g:pymode_breakpoint_key = 'b' +" Enable breakpoints plugin + let g:pymode_breakpoint = 1 + let g:pymode_breakpoint_key = 'b' -" syntax highlighting -let g:pymode_syntax = 1 -let g:pymode_syntax_all = 1 -let g:pymode_syntax_indent_errors = g:pymode_syntax_all -let g:pymode_syntax_space_errors = g:pymode_syntax_all +" syntax highlighting +let g:pymode_syntax = 1 +let g:pymode_syntax_all = 1 +let g:pymode_syntax_indent_errors = g:pymode_syntax_all +let g:pymode_syntax_space_errors = g:pymode_syntax_all -" Don't autofold code -let g:pymode_folding = 0 -let g:riv_fold_level = 0 -let g:riv_fold_auto_update = 0 +" Don't autofold code +let g:pymode_folding = 0 +let g:riv_fold_level = 0 +let g:riv_fold_auto_update = 0 nnoremap za -let g:dbgPavimPort = 9000 -let g:dbgPavimBreakAtEntry = 0 +let g:dbgPavimPort = 9000 +let g:dbgPavimBreakAtEntry = 0 let g:dbgPavimOnce = 1 let python_highlight_all=1 @@ -161,3 +161,5 @@ let g:pymode_python = 'python3' " For table mode RST friendliness let g:table_mode_corner_corner='+' let g:table_mode_header_fillchar='=' +let g:webdevicons_enable = 1 +let g:webdevicons_enable_nerdtree = 1