Remapped colon key not show command-line mode immediately

Viewed 39

Map semicolon to colon

local opts = { silent = true }
keymap("n", ";", ":", opts)

This works fine but not show command-line mode immediately after I just press semicolon. Actually it's already in command-line mode now but not showing in the status line until I press another key enter image description here

1 Answers

Removing the silent option solved the issue.

Related