Commit Graph

26 Commits (6050d2d8d8a9052c6a30e88fa27e6d5e3844e52a)

Author SHA1 Message Date
Bruno Sutic 6050d2d8d8
Remove deprecated "restoring shell history" 2022-04-10 08:58:27 +02:00
Ash Berlin-Taylor e815c50f13
Make backup retention period configurable
For instance `tmux set-option -g @resurrect-delete-backup-after 1`
to only keep 1 day of backups.

Closes 252.
2020-08-17 10:28:42 +02:00
Bruno Sutic e4e21f3f48
Restore command args for inline strategies with '*'
Example inline strategy: "~/bin/my_program->my_program *"
for full command: "ruby /Users/john/bin/my_program arg1 arg2"
restores command: "my_program arg1 arg2"
2020-06-14 11:33:31 +02:00
Bruno Sutic 327c0481ad
Add 'view' to the list of restored processes 2020-03-21 23:51:59 +01:00
Bruno Sutic d7825683d1
Deprecate restoring shell history
"restoring shell history" feature is very invasive and dirty. I propose
removing it in the future without the replacement.

I worry it spoils the first experience of using this plugin for users
that accidentally turn it on and don't know how to turn it off, see
https://github.com/tmux-plugins/tmux-resurrect/issues/288

Also, it hurts me to reject PRs that improve the feature.

Thoughts?
2019-08-27 13:26:29 +02:00
Ash Berlin-Taylor 8aa999c591 Add more hook points
And make the hook calling simpler at the call site.
2018-08-20 12:17:43 +01:00
Sergey Vlasov 0133c7a96a Save and restore hooks 2018-08-17 20:19:27 +01:00
Job Snijders e3878caa75 Add weechat to conservative list 2017-10-10 08:12:44 +00:00
Bruno Sutic 7e0bfcb7e9
Remove comment 2017-06-04 00:19:51 +02:00
Mohammad Alsaleh 655ed8c6f4
Add @resurrect-save-shell-history option
Also make @resurrect-save-bash-history an alias to the new option.

Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>
2017-06-04 00:16:51 +02:00
Bruno Sutic 06b8ad744a
Mutt added to the list of automatically restored programs 2015-08-14 19:23:36 +02:00
Bruno Sutic fee40e2121
Capture pane contents feature, small refactor 2015-05-09 12:37:37 +02:00
quentin 4f685d5c3d Add an option to save the full pane contents
By default only the visible pane area is captured and restored.
The @resurrect-pane-contents-area option lets the full pane area be
captured instead.
2015-03-17 04:13:54 +01:00
quentin b22b2a7203 Save and restore tmux pane contents
This feature is controlled by the '@resurrect-capture-pane-contents'
option.
Currently only the visible area of each pane is saved and restored.
2015-03-17 03:17:37 +01:00
Bruno Sutic e1b01ee4f9
Export script paths so that 'tmux-resurrect-auto' plugin can use them 2015-02-12 12:48:44 +01:00
Bruno Sutic c4375bf642
Enable 'full restore' by overwriting a single pane 2015-02-10 15:16:26 +01:00
Bruno Sutic b91e18cb0e
Remove deprecated and key bindings 2015-02-10 12:56:23 +01:00
Bruno Sutic 601366be6d
Support for restoring neovim sessions 2014-11-09 16:42:53 +01:00
Bruno Sutic 8684d4592b
Flag gate the bash history restore feature 2014-10-17 22:33:29 +02:00
Bruno Sutic 1b79eb2f63
Rename default strategy to `ps` 2014-09-21 15:12:35 +02:00
Bruno Sutic 9f7050aaae
Use a strategy when fetching pane full command 2014-09-20 23:47:15 +02:00
Bruno Sutic 8368355240
Enable inline strategies when restoring programs 2014-09-01 20:32:27 +02:00
Bruno Sutic af3cb5db2e
ctrl key mappings; deprecate alt keys 2014-08-31 11:35:58 +02:00
Bruno Sutic 19c981545e
Make the default program running list even more conservative 2014-08-30 00:15:15 +02:00
Bruno Sutic bd095e739d
Change plugin name and all the variables 2014-08-29 18:59:14 +02:00
Bruno Sutic b8b87a6e29
Improve `irb` restore strategy
Fixes #21
2014-08-29 00:17:02 +02:00