Cleanup end of line whitespace

This commit is contained in:
Alex Kelly 2020-08-04 23:07:05 -04:00
parent 352fad024d
commit 3b654c85cc

108
vim/vimrc
View file

@ -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 <f2>
"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 <f2>
map <F2> :NERDTreeToggle<CR>
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
" <Ctrl-Space> Rope autocomplete
" <Ctrl-c>g Rope goto definition
" <Ctrl-c>d Rope show documentation
" <Ctrl-c>f Rope find occurrences
" <Leader>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
" <Ctrl-Space> Rope autocomplete
" <Ctrl-c>g Rope goto definition
" <Ctrl-c>d Rope show documentation
" <Ctrl-c>f Rope find occurrences
" <Leader>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 = '<leader>b'
" Enable breakpoints plugin
let g:pymode_breakpoint = 1
let g:pymode_breakpoint_key = '<leader>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 <space> 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