Browse Source

small option tweaks

imac
Juni Kim 2 years ago
parent
commit
6cec440dd1
  1. 8
      after/plugin/zenmode.lua
  2. 2
      lua/junikim/packer.lua

8
after/plugin/zenmode.lua

@ -10,13 +10,13 @@ vim.keymap.set("n", "<leader>z", function()
width = 90
},
on_open = function(win)
vim.opt.wrap = true
vim.opt.relativenumber = false
vim.o.wrap = true
vim.o.relativenumber = false
end,
-- callback where you can add custom code when the Zen window closes
on_close = function()
vim.opt.wrap = false
vim.opt.relativenumber = true
vim.o.wrap = false
vim.o.relativenumber = true
end,
})
end)

2
lua/junikim/packer.lua

@ -69,4 +69,6 @@ return require('packer').startup(function(use)
}
}
use 'Yggdroot/indentLine'
end)
Loading…
Cancel
Save