fix(options): set shada options

This commit is contained in:
2026-04-27 07:09:41 +02:00
parent 4f90145ef4
commit 111d124b91
+3
View File
@@ -46,6 +46,9 @@ vim.opt.visualbell = true
vim.opt.errorbells = false
-- Persistent undo even after you close a file and re-open it
vim.opt.undofile = true
-- Bound shada size: cap oldfiles/marks at 20 files and history at 100 entries
-- each (otherwise ':', '/' and '@' fall back to 'history' = 10000).
vim.opt.shada = "!,'20,<50,s10,h,r/tmp/,:100,/100,@100"
-- Align indent to next multiple value of shiftwidth.
-- E.g., only insert as many spaces necessary for reaching the next shiftwidth
vim.opt.shiftround = true