Neovim configs for 2023. Hopefully they last.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
require("zen-mode").setup { -- your configuration comes here -- or leave it empty to use the default settings -- refer to the configuration section below }
vim.keymap.set("n", "<leader>z", function() require("zen-mode").toggle({ window = { width = .85 -- width will be 85% of the editor width }, on_open = function(win) vim.wo.relativenumber = false end, -- callback where you can add custom code when the Zen window closes on_close = function() end, }) end)
|