From bc1406379d37fb15707904ec6dcc95fd455b1d9e Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 11 Apr 2025 20:15:50 +0200 Subject: [PATCH 1/1] Hide status bar unless multiple windows --- .config/nvim/options.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/nvim/options.lua b/.config/nvim/options.lua index 2c20e97..1165c34 100644 --- a/.config/nvim/options.lua +++ b/.config/nvim/options.lua @@ -25,6 +25,9 @@ vim.opt.shortmess = 'atTWoOI' -- display the current mode in the status line vim.opt.showmode = false -- the cursor already reflects the mode +-- do not display a status line unless there is more than one window +vim.opt.laststatus = 1 + ----------------------------------------------------------------------------- --- displaying text ----------------------------------------------------------------------------- -- 2.39.5