Cleanup end of line whitespace
This commit is contained in:
parent
352fad024d
commit
3b654c85cc
1 changed files with 55 additions and 53 deletions
108
vim/vimrc
108
vim/vimrc
|
@ -64,21 +64,21 @@ Plugin 'tomlion/vim-solidity'
|
||||||
" All of your Plugins must be added before the following line
|
" All of your Plugins must be added before the following line
|
||||||
call vundle#end() " required
|
call vundle#end() " required
|
||||||
filetype plugin indent on " required
|
filetype plugin indent on " required
|
||||||
"Powerline setup
|
"Powerline setup
|
||||||
"set guifont=PowerLineSymbols\ DejaVu\ Sans\ Mono\ for\ Powerline\ 9
|
"set guifont=PowerLineSymbols\ DejaVu\ Sans\ Mono\ for\ Powerline\ 9
|
||||||
" set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ Plus\ Nerd\ File\ Types\ 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=Sauce\ Code\ Powerline\ Plus\ Nerd\ File\ Types\ 9
|
||||||
" set guifont=Anonymous\ Pro\ for\ Powerline\ Regular/9
|
" set guifont=Anonymous\ Pro\ for\ Powerline\ Regular/9
|
||||||
let g:Powerline_symbols = 'fancy'
|
let g:Powerline_symbols = 'fancy'
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
"NerdTree map to <f2>
|
"NerdTree map to <f2>
|
||||||
map <F2> :NERDTreeToggle<CR>
|
map <F2> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
colorscheme jellybeans
|
colorscheme jellybeans
|
||||||
|
|
||||||
"Make python-friendly tabs
|
"Make python-friendly tabs
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set smarttab
|
set smarttab
|
||||||
|
@ -100,57 +100,57 @@ augroup END
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
||||||
" python-mode settings
|
" python-mode settings
|
||||||
" Python-mode
|
" Python-mode
|
||||||
" Activate rope
|
" Activate rope
|
||||||
" Keys:
|
" Keys:
|
||||||
" K Show python docs
|
" K Show python docs
|
||||||
" <Ctrl-Space> Rope autocomplete
|
" <Ctrl-Space> Rope autocomplete
|
||||||
" <Ctrl-c>g Rope goto definition
|
" <Ctrl-c>g Rope goto definition
|
||||||
" <Ctrl-c>d Rope show documentation
|
" <Ctrl-c>d Rope show documentation
|
||||||
" <Ctrl-c>f Rope find occurrences
|
" <Ctrl-c>f Rope find occurrences
|
||||||
" <Leader>b Set, unset breakpoint (g:pymode_breakpoint enabled)
|
" <Leader>b Set, unset breakpoint (g:pymode_breakpoint enabled)
|
||||||
" [[ Jump on previous class or function (normal, visual, operator
|
" [[ Jump on previous class or function (normal, visual, operator
|
||||||
" modes)
|
" modes)
|
||||||
" ]] Jump on next class or function (normal, visual, operator
|
" ]] Jump on next class or function (normal, visual, operator
|
||||||
" modes)
|
" modes)
|
||||||
" [M Jump on previous class or method (normal, visual, operator
|
" [M Jump on previous class or method (normal, visual, operator
|
||||||
" modes)
|
" modes)
|
||||||
" ]M Jump on next class or method (normal, visual, operator
|
" ]M Jump on next class or method (normal, visual, operator
|
||||||
" modes)
|
" modes)
|
||||||
let g:pymode_rope = 0
|
let g:pymode_rope = 0
|
||||||
|
|
||||||
" Documentation
|
|
||||||
let g:pymode_doc = 1
|
|
||||||
let g:pymode_doc_key = 'K'
|
|
||||||
|
|
||||||
"Linting
|
" Documentation
|
||||||
let g:pymode_lint = 1
|
let g:pymode_doc = 1
|
||||||
"let g:pymode_lint_checker = "pyflakes,pep8"
|
let g:pymode_doc_key = 'K'
|
||||||
let g:pymode_lint_checker = "flake8,pep8"
|
|
||||||
" Auto check on save
|
"Linting
|
||||||
let g:pymode_lint_write = 1
|
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
|
" Support virtualenv
|
||||||
let g:pymode_virtualenv = 1
|
let g:pymode_virtualenv = 1
|
||||||
|
|
||||||
" Enable breakpoints plugin
|
" Enable breakpoints plugin
|
||||||
let g:pymode_breakpoint = 1
|
let g:pymode_breakpoint = 1
|
||||||
let g:pymode_breakpoint_key = '<leader>b'
|
let g:pymode_breakpoint_key = '<leader>b'
|
||||||
|
|
||||||
" syntax highlighting
|
" syntax highlighting
|
||||||
let g:pymode_syntax = 1
|
let g:pymode_syntax = 1
|
||||||
let g:pymode_syntax_all = 1
|
let g:pymode_syntax_all = 1
|
||||||
let g:pymode_syntax_indent_errors = g:pymode_syntax_all
|
let g:pymode_syntax_indent_errors = g:pymode_syntax_all
|
||||||
let g:pymode_syntax_space_errors = g:pymode_syntax_all
|
let g:pymode_syntax_space_errors = g:pymode_syntax_all
|
||||||
|
|
||||||
" Don't autofold code
|
" Don't autofold code
|
||||||
let g:pymode_folding = 0
|
let g:pymode_folding = 0
|
||||||
let g:riv_fold_level = 0
|
let g:riv_fold_level = 0
|
||||||
let g:riv_fold_auto_update = 0
|
let g:riv_fold_auto_update = 0
|
||||||
nnoremap <space> za
|
nnoremap <space> za
|
||||||
|
|
||||||
let g:dbgPavimPort = 9000
|
let g:dbgPavimPort = 9000
|
||||||
let g:dbgPavimBreakAtEntry = 0
|
let g:dbgPavimBreakAtEntry = 0
|
||||||
let g:dbgPavimOnce = 1
|
let g:dbgPavimOnce = 1
|
||||||
|
|
||||||
let python_highlight_all=1
|
let python_highlight_all=1
|
||||||
|
@ -161,3 +161,5 @@ let g:pymode_python = 'python3'
|
||||||
" For table mode RST friendliness
|
" For table mode RST friendliness
|
||||||
let g:table_mode_corner_corner='+'
|
let g:table_mode_corner_corner='+'
|
||||||
let g:table_mode_header_fillchar='='
|
let g:table_mode_header_fillchar='='
|
||||||
|
let g:webdevicons_enable = 1
|
||||||
|
let g:webdevicons_enable_nerdtree = 1
|
||||||
|
|
Loading…
Reference in a new issue