fix(options): set shada options
This commit is contained in:
@@ -46,6 +46,9 @@ vim.opt.visualbell = true
|
|||||||
vim.opt.errorbells = false
|
vim.opt.errorbells = false
|
||||||
-- Persistent undo even after you close a file and re-open it
|
-- Persistent undo even after you close a file and re-open it
|
||||||
vim.opt.undofile = true
|
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.
|
-- Align indent to next multiple value of shiftwidth.
|
||||||
-- E.g., only insert as many spaces necessary for reaching the next shiftwidth
|
-- E.g., only insert as many spaces necessary for reaching the next shiftwidth
|
||||||
vim.opt.shiftround = true
|
vim.opt.shiftround = true
|
||||||
|
|||||||
Reference in New Issue
Block a user