setglobal tags=./tags;
set timeoutlen=1200 " A little bit more time for macros
set ttimeoutlen=50 " Make Esc work faster
-"if exists('+undofile')
-" set undofile
-"endif
-set nobackup
+if exists('+undofile')
+ set undofile
+endif
+"set nobackup
set visualbell
set virtualedit=block
set wildmenu
set background=light
set number
+set undodir=~/.cache/vim/undo " vim will not create this directory.
+set directory=~/.cache/vim/swap " vim will not create this directory.
+set backupdir=~/.cache/vim/backup " vim will not create this directory.
+set viminfo+=n~/.cache/vim/viminfo
+
" Plugin Settings {{{2
"let g:airline#extensions#tabline#enabled = 1
let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
-let g:EditorConfig_verbose=1
+let g:EditorConfig_verbose=0
let g:NERDTreeWinSize=30
+
" }}}2
" Section: Commands {{{1
"-----------------------