From d0f77fceb25c23d562142e9d9c566c693594906a Mon Sep 17 00:00:00 2001 From: Izzy Gomez Date: Thu, 14 Mar 2024 02:01:55 -0400 Subject: [PATCH] confirm save/restore doc updates --- README.md | 1 + docs/confirm_actions.md | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 docs/confirm_actions.md 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'