How do you bind the tilde key?

16 views
Skip to first unread message

qc

unread,
Jan 1, 2020, 3:01:00 PM1/1/20
to tmux-users
I previously had:
bind-key ~ <command>
to bind the tilde key to a command. But with the current version it no longer works. I yields an unknown key error, due to it expanding the tilde to my home directory. How do I get around this, or would this be considered a bug?

Thomas Sattler

unread,
Jan 1, 2020, 3:44:30 PM1/1/20
to tmux-...@googlegroups.com
Did you try using single quotes?

$ tmux bind -n '~' run -b xterm
Reply all
Reply to author
Forward
0 new messages