Skip to content

[audit] set showmode=false — redundant with custom statusline#179

Closed
stanfish06 wants to merge 1 commit into
masterfrom
audit/showmode-false
Closed

[audit] set showmode=false — redundant with custom statusline#179
stanfish06 wants to merge 1 commit into
masterfrom
audit/showmode-false

Conversation

@stanfish06

Copy link
Copy Markdown
Owner

What

lua/config/options.lua:59 sets vim.o.showmode = true.

Where

lua/config/options.lua — line 59.

Why it matters

The custom statusline (lua/config/statusline.lua) already renders a colour-coded mode indicator — [N] (green), [I] (purple), [V] (yellow), etc. — on every mode change. With showmode = true, Neovim also prints -- INSERT -- / -- VISUAL -- in the command-line area below the statusline, giving two simultaneous mode displays. Setting it to false removes the redundant message without losing any information.

Recommended action

-vim.o.showmode = true
+vim.o.showmode = false -- custom statusline shows mode; built-in "-- INSERT --" is redundant

Test plan

  • Enter insert mode → only the statusline [I] indicator shows; no -- INSERT -- in the cmdline
  • Enter visual mode → only [V] in statusline
  • Enter command mode → [C] in statusline; no -- COMMAND -- below

https://claude.ai/code/session_01GHYEWxoG5uHqsZM28upN1w


Generated by Claude Code

The custom statusline already shows the current mode with colour-coded
[N]/[I]/[V]/… indicators.  Keeping showmode=true causes Neovim to also
print "-- INSERT --" / "-- VISUAL --" in the command-line area on every
mode change, which doubles the information and adds visual noise.

https://claude.ai/code/session_01GHYEWxoG5uHqsZM28upN1w
@stanfish06 stanfish06 closed this Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants