From 921175c7efabce61ece66655d87d2439dfcc7f5d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 20 Jul 2023 15:00:43 +0100 Subject: [PATCH] Set line width in zen_mode for better writing experience --- lua/plugins/zen_mode.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lua/plugins/zen_mode.lua b/lua/plugins/zen_mode.lua index f661d66..2a0ae7e 100644 --- a/lua/plugins/zen_mode.lua +++ b/lua/plugins/zen_mode.lua @@ -6,6 +6,7 @@ return { config = true, opts = { window = { + width = 80, options = { signcolumn = "no", -- disable signcolumn number = false, -- disable number column @@ -19,12 +20,17 @@ return { plugins = { options = { enabled = true, + ruler = false, + showcmd = false, }, twilight = { enabled = true }, gitsigns = { enabled = true }, - tmux = { enabled = true }, + wezterm = { + enabled = false, + font = "+4", -- (10% increase per step) + }, }, on_open = function(win) vim.wo.scrolloff = 999 end, - on_close = function(win) vim.wo.scrolloff = 0 end, + on_close = function(win) vim.wo.scrolloff = -1 end, }, }