]> 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:

disable showmode in favour of cursor
authormartin f. krafft <madduck@madduck.net>
Fri, 11 Apr 2025 07:00:39 +0000 (09:00 +0200)
committermartin f. krafft <madduck@madduck.net>
Fri, 11 Apr 2025 18:48:29 +0000 (20:48 +0200)
.config/nvim/init.lua
.config/nvim/options.lua
.config/nvim/style.vim [new file with mode: 0644]
.gitignore.d/neovim

index cd3df604a634770023ad937ff9a8f5ca11c14c11..9a2abebb6b78336ca665e6603d534589dbc096ef 100644 (file)
@@ -6,6 +6,7 @@ vim.g.netrw_home = vim.g.statedir .. "netrw"
 
 vim.cmd.runtime 'options.lua'
 vim.cmd.runtime 'keymaps.lua'
+vim.cmd.runtime 'style.vim'
 vim.cmd.runtime 'emojis.vim'
 
 vim.cmd 'packadd! gnupg'
index 22c1c4ead255b8603a3635ba70c43bd903e780fa..2c20e97a44a0563675ca87b1674bdbef6262ff05 100644 (file)
@@ -22,6 +22,9 @@ 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
+
 -----------------------------------------------------------------------------
 --- displaying text
 -----------------------------------------------------------------------------
diff --git a/.config/nvim/style.vim b/.config/nvim/style.vim
new file mode 100644 (file)
index 0000000..1a1f352
--- /dev/null
@@ -0,0 +1 @@
+highlight Pmenu ctermbg=lightgray guibg=lightgray
index 3b3a2ed3382443507371a3b8ebccfe5a46e2b2a1..dcf4b6ff546d7b9d9a11cf5d5fd53a8b2fd72d4a 100644 (file)
@@ -7,4 +7,5 @@
 !/.config/nvim/plugin/highlight-yank.lua
 !/.config/nvim/plugin/listmode.lua
 !/.config/nvim/plugin/vim-artesanal.lua
+!/.config/nvim/style.vim
 !/.gitignore.d/neovim