Commit Graph

164 Commits

Author SHA1 Message Date
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
Bruno Sutic
9eae48b87e
Update README 2014-11-21 14:47:57 +01:00
Bruno Sutic
e8401ba305 Merge pull request #56 from cunha/master
allow relative paths in @resurrect-dir
2014-11-09 20:25:26 +01:00
Bruno Sutic
e770c87e10
v1.5.0 2014-11-09 16:43:44 +01:00
Bruno Sutic
601366be6d
Support for restoring neovim sessions 2014-11-09 16:42:53 +01:00
Italo Cunha
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
Bruno Sutic
059686ab6c Merge pull request #55 from rburny/master
Fixes to #51 and #52
2014-10-26 16:59:41 +01:00
Radoslaw Burny
488f086fa5 Add a note about HISTCONTROL to README. 2014-10-26 02:17:12 +02:00
Radoslaw Burny
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
Bruno Sutic
e38eed7dae
v1.4.0 2014-10-25 18:46:15 +02:00
Bruno Sutic
a35d5f9b90
Update changelog & readme for the zoomed windows feature
Closes #47, #54
2014-10-25 18:43:56 +02:00
Arno Mayrhofer
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
Arno Mayrhofer
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
Bruno Sutic
3ba092459a Merge pull request #49 from tmux-plugins/bash_history
Bash save and restore history feature
2014-10-20 23:17:46 +02:00
Bruno Sutic
6a6d65b98a
Update the readme 2014-10-20 23:16:56 +02:00
Bruno Sutic
f3fe4acc39
Document bash restore history feature 2014-10-17 22:40:15 +02:00
Bruno Sutic
8684d4592b
Flag gate the bash history restore feature 2014-10-17 22:33:29 +02:00
Bruno Sutic
8328de41d8
Update changelog 2014-10-17 17:47:10 +02:00
Bruno Sutic
94985fc500
Extract save_shell_history to a separate function 2014-10-17 17:45:49 +02:00
Radoslaw Burny
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
Bruno Sutic
a73c465e47
Add issue video screenshot 2014-10-07 13:55:23 +02:00
Bruno Sutic
4ba0e398b9
Document tmux env save dir 2014-10-06 12:59:14 +02:00
Bruno Sutic
8fd38588c0
Fix ps command flags for FreeBSD
This was reported by @duck in #45
2014-09-29 13:39:41 +02:00
Bruno Sutic
a7fe9dcac3
Command line script that fully restores tmux environment 2014-09-24 14:33:46 +02:00
Bruno Sutic
ec9f68cad5
Quote arguments in tmux display-message 2014-09-24 14:30:05 +02:00
Bruno Sutic
94594efdb0
Small bugfix: text command arguments 2014-09-24 14:25:30 +02:00
Bruno Sutic
1b79eb2f63
Rename default strategy to ps 2014-09-21 15:12:35 +02:00
Bruno Sutic
8ebda79f68
Implement save command strategy gdb
@danschumann originally came up with this strategy in #44
2014-09-21 00:08:41 +02:00
Bruno Sutic
ae9083e695
Implement save command strategy: pgrep 2014-09-20 23:55:19 +02:00
Bruno Sutic
9f7050aaae
Use a strategy when fetching pane full command 2014-09-20 23:47:15 +02:00
Bruno Sutic
99abfa5f13
Small readme update 2014-09-20 22:45:37 +02:00
Bruno Sutic
95303946b2
v1.3.0 2014-09-20 22:36:42 +02:00
Bruno Sutic
1d09f07d2b
Remove dependency on pgrep; use ps to get process names
Fixes #43
2014-09-20 22:33:14 +02:00
Bruno Sutic
618769b62f
Update readme 2014-09-20 13:23:42 +02:00
Bruno Sutic
fac377bf8c
Add bash to the dependency list 2014-09-10 21:53:38 +02:00
Bruno Sutic
dc7561df74
Small readme tweak 2014-09-10 13:26:14 +02:00
Bruno Sutic
eb2cd31d4b
Update readme
Do not invite people to negotiate default program restore list.
2014-09-07 10:19:03 +02:00
Bruno Sutic
e242ea6d8d
v1.2.1 2014-09-02 22:48:50 +02:00
Bruno Sutic
a0a3f2fd56
When a pane is not restored, don't restore it's program 2014-09-02 22:47:38 +02:00
Bruno Sutic
d606106f1c
Fix: command prompt not ideal after a restore
Fixes #36
2014-09-02 22:34:00 +02:00
Bruno Sutic
d5598d1c61
Update readme 2014-09-01 21:18:15 +02:00
Bruno Sutic
db05b2133b
v1.2.0 2014-09-01 20:32:54 +02:00
Bruno Sutic
8368355240
Enable inline strategies when restoring programs 2014-09-01 20:32:27 +02:00
Bruno Sutic
20c5fc40cc
v1.1.0 2014-08-31 11:37:14 +02:00
Bruno Sutic
af3cb5db2e
ctrl key mappings; deprecate alt keys 2014-08-31 11:35:58 +02:00
Bruno Sutic
deb3e9fdce
Add a reference to other plugins in the readme 2014-08-31 01:38:51 +02:00