Skip to content

[feature] Command mode#4880

Open
ckardaris wants to merge 1 commit intophilc:masterfrom
ckardaris:vimium-4103-command-line-mode
Open

[feature] Command mode#4880
ckardaris wants to merge 1 commit intophilc:masterfrom
ckardaris:vimium-4103-command-line-mode

Conversation

@ckardaris
Copy link

Introduce command mode in the omni bar.

Features:

  • Launch with ':' (default key mapping).
  • Support prefix counts.
  • Show all commands (even mapped ones).
  • Show all commands as specified (with any options) in user defined key mappings.
  • Show keys for mapped commands, similarly to the help page.

Fix:

  • Fix collection of unit tests in subdirectories.

Other:

  • Revise 'noRepeat' attribute for all commands.

Description

Good evening, this MR implements feature request #4103.

I have tried to implement this feature as cleanly as possible.
I understand that this is quite a big patch, so I expect some changes based on reviewer suggestions,
but I think that it is working nicely.
I tried to add some tests, as well, but I am afraid I am not very familiar with shoulda and puppeteer,
so I am not sure if I have followed best practices and if I am inside the general spirit of the Vimium tests.

I am looking forward to your feedback and hope to be merging this soon.

Introduce command mode in the omni bar.

Features:
- Launch with ':' (default key mapping).
- Support prefix counts.
- Show all commands (even mapped ones).
- Show all commands as specified (with any options) in user defined key
  mappings.
- Show keys for mapped commands, similarly to the help page.

Fix:
- Fix collection of unit tests in subdirectories.

Other:
- Revise 'noRepeat' attribute for all commands.
@philc
Copy link
Owner

philc commented Mar 24, 2026

Whoa, very exciting! Thank you for the PR. I'll take this for a spin in the next few days.

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