Summary Files Commits Branches @commit @diff @stats
path: root / lua
diff options
context:
space:
mode:
Commit6af7042c8a8ebd1064eddb6c5ed74028edd30299 (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-03-24 10:58:36 +0200
Committer
 Syndamia <kamen@syndamia.com>
2024-03-24 10:58:36 +0200
Files8fbc2ad0db7e562b27fecdf99403eea86933ee57 /lua
anderson-6af7042c8a8ebd1064eddb6c5ed74028edd30299.tar
anderson-6af7042c8a8ebd1064eddb6c5ed74028edd30299.tar.gz
anderson-6af7042c8a8ebd1064eddb6c5ed74028edd30299.zip
Parent2a22c1fd7d87e99534220936b409164f4b631c3e (diff)
[text] Added history
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")