confirm save/restore doc updates

pull/502/head
Izzy Gomez 2024-03-14 02:01:55 -04:00
parent b499ddacc0
commit d0f77fceb2
No known key found for this signature in database
GPG Key ID: 9A81687371175CC8
2 changed files with 7 additions and 0 deletions

View File

@ -90,6 +90,7 @@ You should now be able to use the plugin.
**Configuration**
- [Changing the default key bindings](docs/custom_key_bindings.md).
- [Adding a confirmation step on save & restore](docs/confirm_actions.md).
- [Setting up hooks on save & restore](docs/hooks.md).
- Only a conservative list of programs is restored by default:<br/>
`vi vim nvim emacs man less more tail top htop irssi weechat mutt`.<br/>

6
docs/confirm_actions.md Normal file
View File

@ -0,0 +1,6 @@
# Confirm save & restore actions
By default save & restore will have no confirmation when the key bindings are pressed. To change this, add to `.tmux.conf`:
set -g @resurrect-save-confirm 'on'
set -g @resurrect-restore-confirm 'on'