`unmapAll` as a Command / Binding
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Use-case:
It'd be nice to be able to map ZZ in insert mode to unmapAll for whenever I'm doing code challenges that have an online IDE.
Problem statement
I instinctively press "Esc" to exit insert mode in the editor, which puts vimium in normal mode but leaves the online IDE in insert mode and is a frustrating thing to experience.
I'm sure there are other use-cases for this as well, I may end up submitting a PR if people agree this is a good idea.
Work around
For now, I'll just set vimium to ignore the URL where those online IDEs are relevant, which is good enough, but not ideal imo.
Rationale
'ZZ' - essentially an alias to :q in vim. (seeing as how x is actually 'exit-tab', ZZ makes a lot of sense)
Considerations
If I make a PR, I might make it a default binding, or perhaps just a Command that a user can use as a custom binding.
Might be a good idea to get some input
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating Vimium's existing command and key-binding definitions, then determine whether unmapAll should be exposed only as a custom command or also receive a default ZZ binding. Done means the chosen behavior works in insert mode without leaving the online IDE in insert mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100