changed python indents 2 spaces
This commit is contained in:
@@ -63,9 +63,9 @@ map Q gq
|
|||||||
" Python settings. With filetype detection on, these settings will be used
|
" Python settings. With filetype detection on, these settings will be used
|
||||||
" for all .py files.
|
" for all .py files.
|
||||||
au FileType python
|
au FileType python
|
||||||
\ set tabstop=4
|
\ set tabstop=2
|
||||||
\ softtabstop=4
|
\ softtabstop=2
|
||||||
\ shiftwidth=4
|
\ shiftwidth=2
|
||||||
\ textwidth=79
|
\ textwidth=79
|
||||||
\ expandtab
|
\ expandtab
|
||||||
\ autoindent
|
\ autoindent
|
||||||
@@ -104,17 +104,6 @@ set mouse=
|
|||||||
|
|
||||||
set clipboard+=unnamedplus
|
set clipboard+=unnamedplus
|
||||||
|
|
||||||
" set backup, undo, and swap?
|
|
||||||
let &directory = expand('~/.vimdata/swap/')
|
|
||||||
set backup
|
|
||||||
let &backupdir = expand('~/.vimdata/backup/')
|
|
||||||
set undofile
|
|
||||||
let &undodir = expand('~/.vimdata/undo/')
|
|
||||||
|
|
||||||
if !isdirectory(&undodir) | call mkdir(&undodir, "p") | endif
|
|
||||||
if !isdirectory(&backupdir) | call mkdir(&backupdir, "p") | endif
|
|
||||||
if !isdirectory(&directory) | call mkdir(&directory, "p") | endif
|
|
||||||
|
|
||||||
set pumheight=20 " keep the autocomplete suggestion menu small
|
set pumheight=20 " keep the autocomplete suggestion menu small
|
||||||
set shortmess+=c " don't give ins-completion-menu messages
|
set shortmess+=c " don't give ins-completion-menu messages
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user