gnotclub / xst

st fork that uses Xresources and some pretty good patches
MIT License
536 stars 73 forks source link

How to bind custom key #81

Closed ztlevi closed 4 years ago

ztlevi commented 4 years ago

Is there any way to define custom key in Xresources.

For exmpale, for urxvt we could do

URxvt.keysym.Meta-c: eval:selection_to_clipboard
URxvt.keysym.Meta-v: eval:paste_clipboard
hallabro commented 4 years ago

Custom keys may be defined in your shell as well. See bind -p for bash and bindkey for zsh.

I guess it all depends on what you want to bind.