0

I am building a GUI that uses tmux and I want to ensure that all existing bindings are removed when the program is started.

I tried using:

$ tmux unbind-key -a 

since the documentation states:

If -a is present, all key bindings are removed.

however this does not seem to work, since if I list the binds again with list-keys I still see all of them

1 Answer 1

0

By default it uses the default table (-T prefix). To unbind all keys in all tables:

for table in prefix root copy-mode copy-mode-vi; do tmux unbind -a -T "$table" done 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.