0

I want that F5 be an alias to <prefix>+, which is the rename window action in tmux.

I tried:

bind -n F5 rename-window 

but tmux is angry when it reads the conf file.

how to achieve what I want?

1

Set bind-key -n F5 command-prompt -I "rename-window " on your ~/.tmux.conf and then source it. (press Ctrl+b : and write source-file ~/.tmux.conf)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.