Change common commands to mirror other popular terminal multiplexers.

pull/29/head
tafryn 2015-09-15 11:15:13 -07:00
parent 3baff4e795
commit 9279a39dd3
1 changed files with 2 additions and 2 deletions

View File

@ -133,14 +133,14 @@ main() {
# pressing `prefix + prefix` sends <prefix> to the shell
if key_binding_not_set "$prefix"; then
tmux bind-key "$prefix" send-prefix
tmux bind-key "$prefix" last-window
fi
fi
# If Ctrl-a is prefix then `Ctrl-a + a` switches between alternate windows.
# Works for any prefix character.
if key_binding_not_set "$prefix_without_ctrl"; then
tmux bind-key "$prefix_without_ctrl" last-window
tmux bind-key "$prefix_without_ctrl" send-prefix
fi
# easier switching between next/prev window