From: martin f. krafft Date: Fri, 11 Apr 2025 18:15:50 +0000 (+0200) Subject: Hide status bar unless multiple windows X-Git-Url: https://git.madduck.net/etc/neovim.git/commitdiff_plain/bc1406379d37fb15707904ec6dcc95fd455b1d9e?hp=947cb734e6e7e813d63c0577bdd561cbdcb08751 Hide status bar unless multiple windows --- 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 -----------------------------------------------------------------------------