[submodule "etc/vim/pack/vim-lastplace/start/vim-lastplace"]
path = etc/vim/pack/vim-lastplace/start/vim-lastplace
url = https://github.com/farmergreg/vim-lastplace
+[submodule "etc/vim/pack/vim-suda/start/vim-suda"]
+ path = etc/vim/pack/vim-suda/start/vim-suda
+ url = https://github.com/lambdalisue/vim-suda
unlet x
unlet y
+
""" vim-only defaults
if !has('nvim')
" neovim defaults are already set
autocmd BufRead * set autoindent
endif
+
+""" package config
+"" suda
+" https://github.com/lambdalisue/vim-suda/issues/32#issuecomment-829608925
+if ! &diff
+ let g:suda_smart_edit = 1
+endif
+
+
""" styling
" nice default theme
colorscheme murphy
autocmd VimEnter,WinNew * set list
set listchars=tab:├─,extends:»,precedes:«,space:·,trail:∙,nbsp:■
+
""" editor
" always save undo file for all file buffers
autocmd BufRead * set undofile