ctrl key mappings; deprecate alt keys

This commit is contained in:
Bruno Sutic 2014-08-31 11:35:58 +02:00
parent deb3e9fdce
commit af3cb5db2e
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
3 changed files with 12 additions and 4 deletions

View File

@ -2,6 +2,7 @@
### master ### master
- bugfix: sourcing `variables.sh` file in save script - bugfix: sourcing `variables.sh` file in save script
- add `Ctrl` key mappings, deprecate `Alt` keys mappings.
### v1.0.0, 2014-08-30 ### v1.0.0, 2014-08-30
- show spinner during the save process - show spinner during the save process

View File

@ -20,8 +20,15 @@ It even (optionally) [restores vim sessions](#restoring-vim-sessions)!
### Key bindings ### Key bindings
- `prefix + Alt-s` - save - `prefix + Ctrl-s` or `prefix + Alt-s` - save
- `prefix + Alt-r` - restore - `prefix + Ctrl-r` or `prefix + Alt-r` - restore
Some people can't get `Alt` key mappings to work so they are deprecated.
For custom key bindings, add to `.tmux.conf`:
set -g @resurrect-save "S"
set -g @resurrect-restore "R"
### About ### About

View File

@ -1,8 +1,8 @@
# key bindings # key bindings
default_save_key="M-s" default_save_key="M-s C-s"
save_option="@resurrect-save" save_option="@resurrect-save"
default_restore_key="M-r" default_restore_key="M-r C-r"
restore_option="@resurrect-restore" restore_option="@resurrect-restore"
# default processes that are restored # default processes that are restored