mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-22 04:18:48 +00:00
Add 'save&restore pane contents' feature to changelog and readme
This commit is contained in:
parent
c3d5a8c19c
commit
6a6a87626a
@ -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"
|
||||||
|
11
README.md
11
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user