diff --git a/nvim/settings.vim b/nvim/settings.vim index f1f5d83..9700ab4 100644 --- a/nvim/settings.vim +++ b/nvim/settings.vim @@ -63,9 +63,9 @@ map Q gq " Python settings. With filetype detection on, these settings will be used " for all .py files. au FileType python - \ set tabstop=4 - \ softtabstop=4 - \ shiftwidth=4 + \ set tabstop=2 + \ softtabstop=2 + \ shiftwidth=2 \ textwidth=79 \ expandtab \ autoindent @@ -104,17 +104,6 @@ set mouse= 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 shortmess+=c " don't give ins-completion-menu messages