You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm really liking sioyek. What I'm trying to do now is to add completely custom keybindings that override the default ones. It seems to me that the bindings in keys_user only add to the existing ones. Is there a way to replace existing ones?
I have a partial answer, but it's not good enough for what I'm trying to do: If I want to rebind key to a new command, all I have to do is add a line
to my config. Here is where it gets weird: In the default config 'v' stands for visual select. I am trying to make this a prefix to mean "View something". Like "View portal window", "View preview", ... I want to have bindings like 'vp', 'v', ... for them, in the same spirit as 'gg', ... If I just add bindings for 'vp', ..., then they never get executed because the moment I press 'v', it gets interpreted as "enter visual select mode", not as a prefix. I tried to first unbind 'v' using 'noop v'. This works to no longer trigger select mode, but it still doesn't allow me to use 'v' as a prefix key. I guess it is now explicitly bound to 'noop', which does nothing.
Is there currently a way to achieve what I want? If not, can a future version include some mechanism to delete existing bindings? This would be awesome.
The text was updated successfully, but these errors were encountered:
I'm really liking sioyek. What I'm trying to do now is to add completely custom keybindings that override the default ones. It seems to me that the bindings in keys_user only add to the existing ones. Is there a way to replace existing ones?
I have a partial answer, but it's not good enough for what I'm trying to do: If I want to rebind key to a new command, all I have to do is add a line
to my config. Here is where it gets weird: In the default config 'v' stands for visual select. I am trying to make this a prefix to mean "View something". Like "View portal window", "View preview", ... I want to have bindings like 'vp', 'v', ... for them, in the same spirit as 'gg', ... If I just add bindings for 'vp', ..., then they never get executed because the moment I press 'v', it gets interpreted as "enter visual select mode", not as a prefix. I tried to first unbind 'v' using 'noop v'. This works to no longer trigger select mode, but it still doesn't allow me to use 'v' as a prefix key. I guess it is now explicitly bound to 'noop', which does nothing.
Is there currently a way to achieve what I want? If not, can a future version include some mechanism to delete existing bindings? This would be awesome.
The text was updated successfully, but these errors were encountered: