Replies: 10 comments 1 reply
-
|
I agree - even as a vim user I would prefer Ctrl+N/P to Ctrl+J/K.
Personally I think we should just bite the bullet and implement custom keybinds.
We could technically also implement this with custom keybinds, but clogging up the keybind list with entries like 'kill-line' and 'backward-kill-word' I'm not entirely happy with. @aurelien-brabant What's your take? Also what was your reason for using Ctrl+B and Ctrl+P? |
Beta Was this translation helpful? Give feedback.
-
|
I like and already thought about introducing keybinding schemes. I would actually prefer this to custom keybinds for the clogging reason @quadratech188 talked about, but also because a vim keybinding scheme might also imply other non keyboard related changes (for instance typing a We may introduce customizable keybinds for other, more general things tho (such as opening the action panel)
No specific reason. Ctrl+P is what raycast uses, Ctrl+B I just made this one up and stuck with it. |
Beta Was this translation helpful? Give feedback.
-
|
Implemented by #364. I'm converting this to a discussion so that we can continue to talk about keybind related things. |
Beta Was this translation helpful? Give feedback.
-
|
Hi falood, Thanks you aurelien for making vicinae! Such a game changer. Some nitpicks falood, you missed No worries for now tho. If keybindings config will be added in future, it would be cool! |
Beta Was this translation helpful? Give feedback.
-
|
@falood One issue I noticed now, I'm not able to toggle Actions with (Ctrl-o) Its opening the .desktop file in Editor In default I can do (Ctrl-b) to open actions fine. But in emacs no key is making actions popup |
Beta Was this translation helpful? Give feedback.
-
|
I'm using hyprland and curernt there's no conflict with ctrl-o |
Beta Was this translation helpful? Give feedback.
-
|
just letting you guys know, from v0.14.2 the keybinds for the action panel and opening the search bar filter are now configurable from within the settings. If you use the emacs keybinding scheme you need to make them match your preferences there, as I removed the emacs specific exceptions in the code for this. The keybinding scheme will stay as a way to control how the editing is done inside the inputs, which is different than just setting a shortcut for a single action. Maybe we could automatically switch the keybind to something more emacs friendly if the emacs scheme is selected, but I also don't want to override any user preference by doing so, some users might want a very specific shortcut to open their action panel. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much! |
Beta Was this translation helpful? Give feedback.
-
|
@aurelien-brabant that's great! I just tried the 0.14.2, the new keybind setting is pretty useful, that's a pretty good way to avoid conflict in different modes.
|
Beta Was this translation helpful? Give feedback.
-
|
It would be really nice to have Ctrl+N/P without opting-in to emacs bindings. if (event->key() == Qt::Key_J) return true; Is that acceptable or would it be too breaking? I see that Ctrl+N/P around bound to actions by default (I don't yet understand what they do). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First and foremost, thank you for the excellent work and continued dedication to Vicinae!
Is your feature request related to a problem? Please describe.
I'm a big fan of the project's experience. As an Emacs user, I've also heard from others in the community who would appreciate having Emacs-style keybindings for navigation and editing.
Describe the solution you'd like
Known or Potential Keybinding Conflicts
I've identified a few potential conflicts with existing shortcuts:
Ctrl+B: This is currently used to Open Action Panel. In Emacs, Ctrl+B is for moving the cursor backward ("backward-char").Ctrl+P: In the Clipboard History, this is the shortcut for Open Filter. In Emacs, Ctrl+P is for navigating to the previous line ("previous-line").Ctrl+F: In Emacs, this is for moving the cursor forward ("forward-char"). However, in many applications, Ctrl+F is the standard shortcut for Find, which could be a consideration.Additional context
I would like to understand the developers' perspective on keybindings. Is the goal to support optional schemes like Emacs, or is it preferred to maintain a single, consistent user experience for everyone?
If integrating Emacs keybindings is a welcome idea, I would love to get feedback from the community and maintainers on the best way to resolve the conflicts mentioned above. Once we reach a consensus, I am willing to refine the implementation, update the documentation, and submit a pull request. (I have already successfully built and run a local version with some of these features implemented, with much of the code written by an AI).
Thank you again to the author and maintainers for all your hard work
Beta Was this translation helpful? Give feedback.
All reactions