added persistant undodir and options for undotree
This commit is contained in:
parent
66d989ab8b
commit
b7a37cabb2
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue