Add 'save&restore pane contents' feature to changelog and readme

This commit is contained in:
Bruno Sutic 2015-04-02 15:20:32 +02:00
parent c3d5a8c19c
commit 6a6a87626a
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
2 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# Changelog # Changelog
### master ### master
- save and restore tmux pane contents (@laomaiweng)
### v2.4.0, 2015-02-23 ### v2.4.0, 2015-02-23
- add "tmux-test" - add "tmux-test"

View File

@ -52,6 +52,8 @@ This plugin goes to great lengths to save and restore all the details from your
[restoring vim and neovim sessions](#restoring-vim-and-neovim-sessions). [restoring vim and neovim sessions](#restoring-vim-and-neovim-sessions).
- restoring bash history (optional, \*experimental*). More details in - restoring bash history (optional, \*experimental*). More details in
[restoring bash history](#restoring-bash-history-experimental). [restoring bash history](#restoring-bash-history-experimental).
- restoring tmux pane contents (optional, \*experimental*). More details in
[restoring pane contents](#restoring-pane-contents-experimental).
Requirements / dependencies: `tmux 1.9` or higher, `bash`. Requirements / dependencies: `tmux 1.9` or higher, `bash`.
@ -156,6 +158,15 @@ foreground when saving. `tmux-resurrect` will send history write command
to each such pane. To prevent these commands from being added to history themselves, to each such pane. To prevent these commands from being added to history themselves,
add `HISTCONTROL=ignoreboth` to your `.bashrc` (this is set by default in Ubuntu). add `HISTCONTROL=ignoreboth` to your `.bashrc` (this is set by default in Ubuntu).
#### Restoring pane contents (experimental)
To enable saving and restoring tmux pane contents add this line to `.tmux.conf`:
set -g @resurrect-capture-pane-contents 'on'
This feature works fine, but there may be some glitches as we're
[actively working on this](https://github.com/tmux-plugins/tmux-resurrect/issues/81).
### Other goodies ### Other goodies
- [tmux-copycat](https://github.com/tmux-plugins/tmux-copycat) - a plugin for - [tmux-copycat](https://github.com/tmux-plugins/tmux-copycat) - a plugin for