]> git.madduck.net Git - etc/neovim.git/blobdiff - .config/nvim/options.lua

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
[etc/neovim.git] / .config / nvim / options.lua
index 22c1c4ead255b8603a3635ba70c43bd903e780fa..1165c343e6d7ada3832d8c1ff3e9075553813a6a 100644 (file)
@@ -22,6 +22,12 @@ vim.opt.background = 'light'
 -- list of flags to make messages shorter
 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
 -----------------------------------------------------------------------------