8af7aed9b3
Bugfix for pane contents restoration
2015-05-12 13:31:13 +02:00
f3c6321501
Refactoring: drop dependency on command
2015-05-09 15:05:30 +02:00
c85a3b4487
Improve pane content restore: remove extra cat
2015-05-09 14:05:51 +02:00
fee40e2121
Capture pane contents feature, small refactor
2015-05-09 12:37:37 +02:00
737568922b
Make "full" pane contents saving the default
2015-03-18 22:38:38 +01:00
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
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
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
b7e7669999
Improve fetching "window_layout" value
...
It's faster now.
2015-02-12 14:10:56 +01:00
abad85f03b
Enable quiet saving
2015-02-12 12:53:19 +01:00
e1b01ee4f9
Export script paths so that 'tmux-resurrect-auto' plugin can use them
2015-02-12 12:48:44 +01:00
708cd49d31
Fix a zoomed windows related regression
2015-02-12 12:47:09 +01:00
c4375bf642
Enable 'full restore' by overwriting a single pane
2015-02-10 15:16:26 +01:00
ddf9c5ef87
Reorder function in restore script
2015-02-10 13:44:14 +01:00
b91e18cb0e
Remove deprecated and key bindings
2015-02-10 12:56:23 +01:00
028e7b7c2e
Refactoring: prefer using variable with tab character
2015-02-10 12:48:53 +01:00
b502572a07
Restore active and alternate windows only if they are present in the 'last' file
2015-02-10 12:48:53 +01:00
1c8efb034a
If there are no grouped sessions, do not output empty line
2015-02-10 12:48:53 +01:00
95ec3c1d9b
Save and restore active and alternate windows for grouped sessions
2015-02-10 12:48:53 +01:00
5dc22a4a9b
Restore grouped sessions
2015-02-10 12:48:53 +01:00
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
e8401ba305
Merge pull request #56 from cunha/master
...
allow relative paths in @resurrect-dir
2014-11-09 20:25:26 +01:00
601366be6d
Support for restoring neovim sessions
2014-11-09 16:42:53 +01:00
831fc5a458
allow relative paths in @resurrect-dir
...
this has been tested to work with set -g @resurrect-dir '.tmux/resu rrect'
2014-11-07 11:52:21 -02:00
059686ab6c
Merge pull request #55 from rburny/master
...
Fixes to #51 and #52
2014-10-26 16:59:41 +01:00
fcf7ca13f0
Only save pane history if its not running any program (other than Bash
...
shell). Fixes a bug where 'history -w' was sent to pane running Bash
script.
2014-10-26 01:30:00 +02:00
0b496dd228
Removing the last_resized variable
...
Instead resizing only if pane_active is set so we are sure the resizep
is called only once
2014-10-25 18:29:52 +02:00
ad52ade4bf
Preserving layout of zoomed windows across restores
...
The problem is that tmux list-window shows only the current pane layout
if a pane is maximized. This is a bug in tmux. In order to avoid this
bug we unzoom the window when saving and zoom in again after saving.
This implies that the Z flag is no longer set in list-windows, and so it
can't be used when restoring. Instead we use the Z flag of the panes
(which still have it) to restore the zoom.
2014-10-25 18:29:52 +02:00
8684d4592b
Flag gate the bash history restore feature
2014-10-17 22:33:29 +02:00
94985fc500
Extract save_shell_history
to a separate function
2014-10-17 17:45:49 +02:00
81982b5114
Add bash history saving and restoring (first version).
...
This does not yet have flag to turn the feature off.
2014-10-17 17:14:33 +02:00
a7fe9dcac3
Command line script that fully restores tmux environment
2014-09-24 14:33:46 +02:00
ec9f68cad5
Quote arguments in tmux display-message
2014-09-24 14:30:05 +02:00
94594efdb0
Small bugfix: text command arguments
2014-09-24 14:25:30 +02:00
1b79eb2f63
Rename default strategy to ps
2014-09-21 15:12:35 +02:00
9f7050aaae
Use a strategy when fetching pane full command
2014-09-20 23:47:15 +02:00
1d09f07d2b
Remove dependency on pgrep
; use ps
to get process names
...
Fixes #43
2014-09-20 22:33:14 +02:00
a0a3f2fd56
When a pane is not restored, don't restore it's program
2014-09-02 22:47:38 +02:00
d606106f1c
Fix: command prompt not ideal after a restore
...
Fixes #36
2014-09-02 22:34:00 +02:00
8368355240
Enable inline strategies when restoring programs
2014-09-01 20:32:27 +02:00
af3cb5db2e
ctrl key mappings; deprecate alt keys
2014-08-31 11:35:58 +02:00
3682cf6170
Bugfix: sourcing variables
file
2014-08-30 21:43:08 +02:00
19c981545e
Make the default program running list even more conservative
2014-08-30 00:15:15 +02:00
2b259cf11a
Show spinner during the env save process
2014-08-29 19:51:47 +02:00
bd095e739d
Change plugin name and all the variables
2014-08-29 18:59:14 +02:00
cedd1292c1
Restore window zoom state
...
Close #25
2014-08-29 17:04:00 +02:00
05cf790493
Enable restoring more panes per window
...
Closes #24
2014-08-29 16:16:21 +02:00
f9ef86d604
Do not restore processes within existing panes
...
Closes #23
2014-08-29 15:50:18 +02:00
9a6e4a1a2c
Make pane restorations idempotent
2014-08-29 12:49:06 +02:00
bd13c9bae8
Clean out comments
2014-08-29 01:04:50 +02:00