Do not force prefix to C-a

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
This commit is contained in:
Bruno Sutic
2014-08-04 17:14:30 +02:00
parent 47df9983a9
commit 89a51c86e3
2 changed files with 26 additions and 12 deletions

View File

@ -3,6 +3,7 @@
### master
- bugfix: determine the default shell from the $SHELL env var on OS X
- set `mode-mouse on` by default
- do not make any decision about the prefix, just enhance it
### v1.0.0, 2014-07-30
- initial work on the plugin