Open colinphill-reify opened 2 years ago
Replicates on Linux.
Not having leader keys in normal mode is pretty annoying. The alternative plugins (Sequence Hotkeys and Hotkey Chords) are even more buggy though.
Since my entire workflow basically relies on decent leader keys, and the two alternatives to this plugin are significantly worse, I'd gladly work on a PR if the author gave some guidance.
This would be very useful. I basically would like to have all my leader key hotkeys only work in normal mode
@johannesCmayer Exactly what I am looking for! Do we have a workaround to do so?
I would like to have my bindings only working with normal mode in the style of nvim
with which-keys
plugin :)
Describe the bug When Vim emulation is enabled and the editor is in normal mode, keypresses which map to Vim commands are handled by the Vim emulator and not by this plugin.
To Reproduce Steps to reproduce the behavior:
⌘ + Ctrl + z
d
d
to toggle reading view.Esc
to enter normal mode if not already in it.⌘ + Ctrl + z
d
d
.This happens with any binding. For this example, I chose a binding whose leader key does not conflict with anything by default, and whose subsequent keys have an observable effect as a Vim command.
Expected behavior
Control
andMeta
(in either order) followed byz
,d
,d
Actual behavior
dd
command.Control
,Meta
, andz
, but does not log eitherd
keypress.Desktop (please complete the following information):