Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Edit Vomnibar using Vim keybinds #1269

Open
stevenxxiu opened this issue Nov 19, 2024 · 3 comments
Open

Feature Request: Edit Vomnibar using Vim keybinds #1269

stevenxxiu opened this issue Nov 19, 2024 · 3 comments

Comments

@stevenxxiu
Copy link

What command or commands

I'd like to edit Vomnibar using Vim keybinds. Using arrow keys is much less comfortable. I'm used to using Firenvim to edit textareas.

How should a feature do

I'd like to include:

Perhaps it's just easiest to just work together with Firenvim?

Browser and OS

  • Browser name: Firefox v133.0b9
  • OS name: Arch Linux kernel v6.11.8
  • Vimium C v1.99.997
@stevenxxiu stevenxxiu changed the title Edit Vomnibar using Vim keybinds Feature Request: Edit Vomnibar using Vim keybinds Nov 19, 2024
@eastarpen
Copy link

eastarpen commented Nov 19, 2024

Maybe you can refer to Trigger commands in an input box · gdh1995/vimium-c Wiki.

I doubt whether it is reasonable to add "command mode" to Vominbar.

But for your request, I have a system-wide solution.

map caps+w to ctrl+rightarrow (like w in vim)
map caps+b to ctrl+leftarrow (like b in vim)
map caps+a to end (like A in vim)
map caps+i to home (like I in vim)

and so on...

Thus, you can navigate with vim-like keys in any input boxes.

In my environment, I use rvaiya/keyd: A key remapping daemon for linux. to make those mappings

@stevenxxiu
Copy link
Author

stevenxxiu commented Nov 19, 2024

I don't see any mention of Vomnibar in that page. I'm quite specifically after editing Vomnibar using Vim keys.

"Like" Vim isn't good enough for me. For your workaround in particular, I have my Caps Lock bound to Esc, so that won't work.

I want the exact keys and a command mode. A lot of Linux programs support this, and the code isn't all that complicated.

If this can be integrated with Firenvim, then there doesn't even need to be any extra code to support Vim input.

@eastarpen
Copy link

eastarpen commented Nov 19, 2024

I'm quite specifically after editing Vomnibar using Vim keys.

Sorry for my misunderstanding. Now, vimium-c can just implement vim-like navigation, not vim-like editing.

I have my Caps Lock bound to Esc, so that won't work

Me too. My caps works as esc when press it, and works as other keys when hold it.

BTW, you can use <alt-b> <alt-e> to make simple navigation in Vomnibar by default.

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

No branches or pull requests

2 participants