Among many other modifications I remapped my Caps Lock
to Hyper
, an ancient modifier key from the
Space-cadet keyboards.
However I can not find an example how to use it for key-bindings in Tmux, which has Emacs-like key-binding definitions, for example C-k
defines Ctrl-k in both of them, so I tried H-k
which works perfectly in Emacs, but as it turned out, not in Tmux.
The exact binding definition from my .tmux.conf
bind-key -T copy-mode H-k send-keys -X -N 30 scroll-down
Results in the following error:
/home/attila/.tmux.conf:21: unknown key: H-k
I know there is a trick to mimic the Hyper
key as a simultaneous press of all other modifier keys, however I use xcape, so this is not an option.