diff --git a/vim/vimrc b/vim/vimrc index 03100ed..53f9ad8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -69,6 +69,10 @@ set foldminlines=3 " Timeout for combined keymaps (half a sec) set timeoutlen=500 +" keep history the last 1000 opened files, 200 commands and 50 search +" patterns. `h` persists bookmarks across sessions +set viminfo='1000,<200,s50,h + autocmd FileType qf,ll setlocal wrap "quickfix,loclist autocmd FileType markdown setlocal wrap spell spelllang=it,en autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab