1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +01:00

vim: increase history limits

This commit is contained in:
bretello 2024-04-05 15:10:40 +02:00
parent 3db7721edb
commit c137ef0e0f
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -69,6 +69,10 @@ set foldminlines=3
" Timeout for combined keymaps (half a sec) " Timeout for combined keymaps (half a sec)
set timeoutlen=500 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 qf,ll setlocal wrap "quickfix,loclist
autocmd FileType markdown setlocal wrap spell spelllang=it,en autocmd FileType markdown setlocal wrap spell spelllang=it,en
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab