diff --git a/nvim/init.lua b/nvim/init.lua index 0dd8f9d..1f3732e 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -248,8 +248,8 @@ local function toggle_pim() -- full-screen: alot left, abook top-right, calendar bottom-right local H = vim.o.lines - 2 local W = vim.o.columns - local left_w = math.max(1, math.floor(W * 0.55)) - local right_w = math.max(1, W - left_w) + local right_w = math.max(80, math.floor(W * 0.45)) + local left_w = math.max(1, W - right_w) local top_h = math.max(1, math.floor(H / 2)) local bot_h = math.max(1, H - top_h)