Commit Graph

259 Commits

Author SHA1 Message Date
Bruno Sutic
c85a3b4487
Improve pane content restore: remove extra cat 2015-05-09 14:05:51 +02:00
Bruno Sutic
fee40e2121
Capture pane contents feature, small refactor 2015-05-09 12:37:37 +02:00
Bruno Sutic
00008e7f40
Quiet set-options in resurrect.tmux
Using "loud" set-options command is an issue when plugin is installed
manually.

Fixes #83
2015-04-23 14:22:55 +02:00
Bruno Sutic
c32fb488e7
Update tmux-test 2015-04-20 01:31:54 +02:00
Bruno Sutic
6a6a87626a
Add 'save&restore pane contents' feature to changelog and readme 2015-04-02 15:20:32 +02:00
Bruno Sutic
c3d5a8c19c Merge pull request #79 from laomaiweng/resurrect-pane-contents
Save and restore tmux pane contents
2015-04-02 14:17:50 +02:00
quentin
737568922b Make "full" pane contents saving the default 2015-03-18 22:38:38 +01:00
quentin
a1e3d37461 Correctly capture wrapped lines in the pane contents
Add the -J options to `capture-pane` to handle wrapped lines correctly.
This way wrapped lines will be joined upon capture and once restored,
will re-wrap upon pane size changes.
2015-03-18 10:14:20 +01:00
Bruno Sutic
5d46aa27d0
Update readme 2015-03-18 02:33:13 +01: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
9c63ea625b
v2.4.0 2015-02-23 02:05:18 +01:00
Bruno Sutic
7258e29656
Remove typo 2015-02-23 01:27:25 +01:00
Bruno Sutic
781b5104e4
Add travis badge to the readme 2015-02-23 01:21:13 +01:00
Bruno Sutic
f4f36a5af9
Update changelog 2015-02-23 01:19:19 +01:00
Bruno Sutic
d4ec690610
Use more 'tmux-test' functions 2015-02-23 01:19:05 +01:00
Bruno Sutic
d9ac38bef9
Update 'tmux-test' 2015-02-23 01:18:45 +01:00
Bruno Sutic
c5bc35932b
Run setup task from .travis.yml 2015-02-23 00:46:41 +01:00
Bruno Sutic
a3dd99085a
Fix tests for travis 2015-02-23 00:05:54 +01:00
Bruno Sutic
157bd5e38a
Do not gitignore 'tmux-test' files 2015-02-22 22:31:57 +01:00
Bruno Sutic
890a413b9f
Update changelog 2015-02-22 21:54:20 +01:00
Bruno Sutic
9cabda7c71
Resurrect restore test and updates 2015-02-22 21:53:33 +01:00
Bruno Sutic
66916085d9
Update resurrect save test 2015-02-22 21:20:46 +01:00
Bruno Sutic
30366a3cb4
Test resurrect save feature 2015-02-22 20:49:59 +01:00
Bruno Sutic
ac86e025ad
Setup 'tmux-test' 2015-02-22 18:41:58 +01:00
Bruno Sutic
8b183f373f
Readme update 2015-02-20 14:18:24 +01:00
Bruno Sutic
5c1105c579
Update readme 2015-02-20 14:16:46 +01:00
Bruno Sutic
3dd5441d42
Link to tmux-continuum instead of tmux-resurrect-auto 2015-02-20 13:44:46 +01:00
Bruno Sutic
703df121e2
Readme update 2015-02-12 15:31:32 +01:00
Bruno Sutic
2bc9bc0dd7
Mention tmux-resurrect-auto in the readme 2015-02-12 14:21:16 +01:00
Bruno Sutic
671699a054
v2.3.0 2015-02-12 14:13:22 +01:00
Bruno Sutic
b7e7669999
Improve fetching "window_layout" value
It's faster now.
2015-02-12 14:10:56 +01:00
Bruno Sutic
952e1f9784
v2.2.0 2015-02-12 12:53:47 +01:00
Bruno Sutic
abad85f03b
Enable quiet saving 2015-02-12 12:53:19 +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
708cd49d31
Fix a zoomed windows related regression 2015-02-12 12:47:09 +01:00
Bruno Sutic
47db8198d3
v2.1.0 2015-02-12 03:45:15 +01:00
Bruno Sutic
c4375bf642
Enable 'full restore' by overwriting a single pane 2015-02-10 15:16:26 +01:00
Bruno Sutic
ddf9c5ef87
Reorder function in restore script 2015-02-10 13:44:14 +01:00
Bruno Sutic
442b3ed244
v2.0.0 2015-02-10 12:57:24 +01:00
Bruno Sutic
b91e18cb0e
Remove deprecated and key bindings 2015-02-10 12:56:23 +01:00
Bruno Sutic
869be6fa5a
Update readme
Fixes #71
2015-02-10 12:48:53 +01:00
Bruno Sutic
028e7b7c2e
Refactoring: prefer using variable with tab character 2015-02-10 12:48:53 +01:00
Bruno Sutic
b502572a07
Restore active and alternate windows only if they are present in the 'last' file 2015-02-10 12:48:53 +01:00
Bruno Sutic
1c8efb034a
If there are no grouped sessions, do not output empty line 2015-02-10 12:48:53 +01:00
Bruno Sutic
95ec3c1d9b
Save and restore active and alternate windows for grouped sessions 2015-02-10 12:48:53 +01:00
Bruno Sutic
5dc22a4a9b
Restore grouped sessions 2015-02-10 12:48:53 +01:00
Bruno Sutic
bfc625e13f
Save grouped sessions
Grouped sessions are session started with the command
`tmux new-session -t <existing-session-name>`

Those sessions share the panes and windows with the existing, original
session.
We're making sure to identify and save grouped sessions.
On the other hand, we don't want to save panes and windows twice
2015-02-10 12:48:53 +01:00
Bruno Sutic
3244b809eb Merge pull request #67 from SilentGob/master
Correct ps flag for OpenBSD
2015-01-16 00:25:50 +01:00
SilentGob
a9ac17a8f8 Correct ps flag for OpenBSD
Same flag as FreeBSD is needed
2015-01-15 23:20:29 +01:00