diff options
| Commit | 6af7042c8a8ebd1064eddb6c5ed74028edd30299 (patch) | |
|---|---|---|
| Author | 2024-03-24 10:58:36 +0200 | |
| Committer | 2024-03-24 10:58:36 +0200 | |
| Files | 8fbc2ad0db7e562b27fecdf99403eea86933ee57 /lua | |
| anderson-6af7042c8a8ebd1064eddb6c5ed74028edd30299.tar anderson-6af7042c8a8ebd1064eddb6c5ed74028edd30299.tar.gz anderson-6af7042c8a8ebd1064eddb6c5ed74028edd30299.zip | ||
| Parent | 2a22c1fd7d87e99534220936b409164f4b631c3e (diff) | |
[text] Added history
1 files changed, 5 insertions, 0 deletions
| -rw-r--r-- | lua/text.lua | 5 |
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") |
