diff --git a/vim/config/settings.vim b/vim/config/settings.vim index 5a765d9..f8c384a 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -76,7 +76,6 @@ "}}} "BEHAVIOUR: {{{ - set autochdir "change to a file's directory when it's opened set history=250 "size of the undo history set whichwrap=b,s,<,>,[,] "scrolling left/right off current line wraps to the next/previous set smarttab expandtab autoindent tabstop=4 shiftwidth=4 "configure tabs @@ -84,6 +83,9 @@ set timeout timeoutlen=1000 "how long before timing out for mappings set ttimeout ttimeoutlen=100 "how long before timing out for terminal key codes + "change to a file's directory when it's opened + if exists("+autochdir")|set autochdir|endif + "enable the auto-creation of missing folders in a save path if !exists('*s:MakeNewDir') function s:MakeNewDir(fullpath, buf)