mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2025-01-06 23:58:56 +00:00
Change common commands to mirror other popular terminal multiplexers.
This commit is contained in:
parent
3baff4e795
commit
9279a39dd3
@ -133,14 +133,14 @@ main() {
|
|||||||
|
|
||||||
# pressing `prefix + prefix` sends <prefix> to the shell
|
# pressing `prefix + prefix` sends <prefix> to the shell
|
||||||
if key_binding_not_set "$prefix"; then
|
if key_binding_not_set "$prefix"; then
|
||||||
tmux bind-key "$prefix" send-prefix
|
tmux bind-key "$prefix" last-window
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If Ctrl-a is prefix then `Ctrl-a + a` switches between alternate windows.
|
# If Ctrl-a is prefix then `Ctrl-a + a` switches between alternate windows.
|
||||||
# Works for any prefix character.
|
# Works for any prefix character.
|
||||||
if key_binding_not_set "$prefix_without_ctrl"; then
|
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
|
fi
|
||||||
|
|
||||||
# easier switching between next/prev window
|
# easier switching between next/prev window
|
||||||
|
Loading…
Reference in New Issue
Block a user