Created
March 23, 2026 07:40
-
-
Save pkutaj/b0e75ef0baa9f1162eafa6f2c2b60a92 to your computer and use it in GitHub Desktop.
How to Eliminate Swap File Conflicts in Neovim Multi Tab Workflows snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- in init.lua or options.lua | |
| vim.opt.swapfile = false | |
| -- compensate with persistent undo | |
| vim.opt.undofile = true | |
| vim.opt.undodir = vim.fn.stdpath("state") .. "/undo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment