added persistant undodir and options for undotree

This commit is contained in:
pr0c3550r 2023-03-02 17:34:05 +01:00
parent 66d989ab8b
commit b7a37cabb2

View file

@ -53,3 +53,8 @@ vim.api.nvim_set_option("splitright",true)
-- disable Netrw-Banner
vim.g.netrw_banner = 0
-- undotree file management
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("XDG_DATA_HOME") .. "/nvim/undodir"
vim.opt.undofile = true