Remove option missing from neovim
This commit is contained in:
parent
23b07f56d9
commit
b23fd9b050
1 changed files with 0 additions and 4 deletions
4
init.lua
4
init.lua
|
@ -88,10 +88,6 @@ vim.opt.directory = os.getenv("HOME") .. "/.var/nvim/swp//"
|
||||||
-- and undo
|
-- and undo
|
||||||
vim.opt.undofile = true
|
vim.opt.undofile = true
|
||||||
vim.opt.undodir = os.getenv("HOME") .. "/.nvim/undodir"
|
vim.opt.undodir = os.getenv("HOME") .. "/.nvim/undodir"
|
||||||
if not vim.fn.has('macunix') then
|
|
||||||
-- make pastemode more accessible
|
|
||||||
vim.opt.pastetoggle = "<F2>"
|
|
||||||
end
|
|
||||||
|
|
||||||
-- save when moving away
|
-- save when moving away
|
||||||
vim.api.nvim_create_autocmd("FocusLost", {pattern = "*", command = "wa"})
|
vim.api.nvim_create_autocmd("FocusLost", {pattern = "*", command = "wa"})
|
||||||
|
|
Loading…
Reference in a new issue