From c137ef0e0fe61fd1196a7395e4c713a08a2477af Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 5 Apr 2024 15:10:40 +0200 Subject: [PATCH] vim: increase history limits --- vim/vimrc | 4 ++++ 1 file changed, 4 insertions(+) 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