danyim / tmux-remote

tmux plugin for better remote nested tmux sessions
MIT License
7 stars 4 forks source link

Changing the default keybindings doesn't work #2

Closed seqizz closed 4 years ago

seqizz commented 5 years ago

Thanks for the plugin, I wanted to set something up like Ctrl-PgUp to enable and Ctrl-PgDn to disable, but realized even simpler key changes are not evaluated. It didn't differ if I put the setw before or after the plugin line..

I'm using tmux 2.8 and here is the relevant part of the configuration.:

setw -g @remote-toggle-key F7

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'soyuka/tmux-current-pane-hostname'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'danyim/tmux-remote'

run '~/.tmux/plugins/tpm/tpm'
seqizz commented 5 years ago

Hmm set -g works but not setw -g Maybe a readme change would suffice. Anyway, thanks again ! :smile: