Skip to content

Conversation

@arp242
Copy link

@arp242 arp242 commented Dec 10, 2025

This is useful to "unmap" native browser mappings; for example I sometimes accidentally press <c-h> or <c-b> instead of <c-g> to find the next match, which opens the sidebar which I then need to hide with the mouse. It's pretty annoying.

With this, I can do:

map <c-h> noop
map <c-b> noop

And it won't do anything.

Tested locally in Firefox 145 and Chromium 143.0.7499.40

Fixes #4213

This is useful to "unmap" native browser mappings; for example I
sometimes accidentally press <c-h> or <c-b> instead of <c-g> to find the
next match, which opens the sidebar which I then need to hide with the
mouse. It's pretty annoying.

With this, I can do:

	map <c-h> noop
	map <c-b> noop

And it won't do anything.

Tested locally in Firefox 145 and Chromium 143.0.7499.40

Fixes philc#4213
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.

Add noop command

1 participant