Revert persistent undo and swap file disable stuff

This reverts commit 565f7c71dc.

Revert "add persistent undo functionality to both neovim and vim"

This reverts commit 1d8df9d310.
This commit is contained in:
Ivar Fatland
2025-10-10 11:10:04 +02:00
parent 20e07638f6
commit a28f3baa02
2 changed files with 0 additions and 23 deletions
-10
View File
@@ -74,16 +74,6 @@ vim.cmd [[
set errorformat^=[----]\ %f:%l:\ %m
]]
vim.o.backup = false
vim.o.writebackup = false
vim.o.swapfile = false
vim.o.autoread = true
vim.o.undofile = true
vim.o.undodir = vim.fn.expand("~/.vim/neoundodir")
if vim.fn.isdirectory(vim.o.undodir) == 0 then
vim.fn.mkdir(vim.o.undodir, "p")
end
vim.keymap.set('n', ',cf', function()
local qf = vim.fn.getqflist()
for i, item in ipairs(qf) do