Summary Files Commits Branches @commit @diff @stats
path: root / lua / text.lua
diff options
context:
space:
mode:
1 files changed, 5 insertions, 0 deletions
-rw-r--r--lua/text.lua5
diff --git a/lua/text.lua b/lua/text.lua
index 0adea2d..e9dcc3e 100644
--- a/lua/text.lua
+++ b/lua/text.lua
@@ -30,3 +30,8 @@ vim.api.nvim_create_autocmd({ "BufEnter" }, { callback = function (ev)
vim.cmd("startinsert")
end
end })
+
+--[=[ History ]=]--
+
+vim.o.undofile = true
+vim.o.undodir = vim.fn.expand("~/nvim/undo")