diff --git a/README.md b/README.md index f137ad8..a5258fe 100644 --- a/README.md +++ b/README.md @@ -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:
`vi vim nvim emacs man less more tail top htop irssi weechat mutt`.
diff --git a/docs/confirm_actions.md b/docs/confirm_actions.md new file mode 100644 index 0000000..d7cf441 --- /dev/null +++ b/docs/confirm_actions.md @@ -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'