Remove unused functions
This commit is contained in:
parent
673f7009c8
commit
f52635b641
1 changed files with 0 additions and 14 deletions
14
vim/.vimrc
14
vim/.vimrc
|
|
@ -11,24 +11,10 @@ syntax on
|
||||||
" switch buffers without writing to file
|
" switch buffers without writing to file
|
||||||
set hidden
|
set hidden
|
||||||
|
|
||||||
" remove trailing spaces on save
|
|
||||||
autocmd BufWritePre * :%s/\s\+$//e
|
|
||||||
|
|
||||||
" make vim save and load the folding of the document each time it loads
|
|
||||||
" also places the cursor in the last place that it was left
|
|
||||||
" python specific settings
|
|
||||||
au BufWinLeave *.py mkview
|
|
||||||
au BufWinEnter *.py silent loadview
|
|
||||||
|
|
||||||
" file specific formatting
|
" file specific formatting
|
||||||
autocmd Filetype python,bash,sh setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
|
autocmd Filetype python,bash,sh setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
|
||||||
autocmd Filetype css,html,htmldjango,javascript setlocal tabstop=2 softtabstop=2 shiftwidth=2
|
autocmd Filetype css,html,htmldjango,javascript setlocal tabstop=2 softtabstop=2 shiftwidth=2
|
||||||
|
|
||||||
" fold methods based on indents
|
|
||||||
" zo to open folds, zc to close
|
|
||||||
set foldmethod=indent
|
|
||||||
set foldlevel=20
|
|
||||||
|
|
||||||
" search down into subfolders
|
" search down into subfolders
|
||||||
" provides tab-completion for all file-related tasks
|
" provides tab-completion for all file-related tasks
|
||||||
set path+=**
|
set path+=**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue