C-a is last-window, a is send-prefix.
This is consistent with screen bindings; C-a C-a toggles to last window,
and C-a a sends the command character.
last-window is usually also needed more often, so it makes sense to make
it more accessible.
Fixes#40.
Tmux 2.2 removed `utf8` and `status-utf8` options. Since we still want
to keep these options for earlier tmux versions we're redirecting the
output to /dev/null when setting these commands. This way tmux 2.2 (and
above) users won't get any errors when running this plugin.
Assuming no one uses C-b as the default prefix is a wrong assumption.
Instead of making any assumption about the prefix, we're "building" on
top of whatever the user has set.
The following key-bindings will be set if prefix is set to C-a:
- `C-a + C-a` - sends prefix character
- `C-a + a` - switches to the last window
Likewise, if C-b is prefix, then the additional bindings will be
`C-b + C-b` and `C-b + b`.
Closes#1
The `default-command` setting on OS X determines the default shell if
`default-shell` is not set.
This update enables use of any user defined shell, even if
`default-shell` is not set.
Fixes#2