]> git.madduck.net Git - etc/neovim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Hide status bar unless multiple windows
authormartin f. krafft <madduck@madduck.net>
Fri, 11 Apr 2025 18:15:50 +0000 (20:15 +0200)
committermartin f. krafft <madduck@madduck.net>
Fri, 11 Apr 2025 18:49:55 +0000 (20:49 +0200)
.config/nvim/options.lua

index 2c20e97a44a0563675ca87b1674bdbef6262ff05..1165c343e6d7ada3832d8c1ff3e9075553813a6a 100644 (file)
@@ -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
 -----------------------------------------------------------------------------