Commit Graph

47 Commits

Author SHA1 Message Date
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
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
9f7050aaae Use a strategy when fetching pane full command 2014-09-20 23:47:15 +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
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
8368355240 Enable inline strategies when restoring programs 2014-09-01 20:32:27 +02:00
Bruno Sutic
af3cb5db2e ctrl key mappings; deprecate alt keys 2014-08-31 11:35:58 +02:00
Bruno Sutic
3682cf6170 Bugfix: sourcing variables file 2014-08-30 21:43:08 +02:00
Bruno Sutic
19c981545e Make the default program running list even more conservative 2014-08-30 00:15:15 +02:00
Bruno Sutic
2b259cf11a Show spinner during the env save process 2014-08-29 19:51:47 +02:00
Bruno Sutic
bd095e739d Change plugin name and all the variables 2014-08-29 18:59:14 +02:00
Bruno Sutic
cedd1292c1 Restore window zoom state
Close #25
2014-08-29 17:04:00 +02:00
Bruno Sutic
05cf790493 Enable restoring more panes per window
Closes #24
2014-08-29 16:16:21 +02:00
Bruno Sutic
f9ef86d604 Do not restore processes within existing panes
Closes #23
2014-08-29 15:50:18 +02:00
Bruno Sutic
9a6e4a1a2c Make pane restorations idempotent 2014-08-29 12:49:06 +02:00
Bruno Sutic
bd13c9bae8 Clean out comments 2014-08-29 01:04:50 +02:00
Bruno Sutic
54f47a4015 Properly restore pane with top program
Fixes #17
2014-08-29 00:42:11 +02:00
Bruno Sutic
b8b87a6e29 Improve irb restore strategy
Fixes #21
2014-08-29 00:17:02 +02:00
Bruno Sutic
cfe8e7979b Restoring programs with arguments; improve process matching
Closes #20, closes #19
2014-08-28 23:48:04 +02:00
Bruno Sutic
0da279e4cd "vi, irb, pry" are restored by default 2014-08-28 14:35:49 +02:00
Bruno Sutic
884a5e9c19 Improve default restored program command matching 2014-08-28 13:53:09 +02:00
Bruno Sutic
18f4d1099e Spin a spinner while tmux sessions are restored
Closes #16
2014-08-28 12:58:07 +02:00
Bruno Sutic
655bdb9a75 Refactor checking if tmux session file exists 2014-08-28 12:45:48 +02:00
Bruno Sutic
cde50d4d92 Command strategies; restore vim sessions
Closes #4
2014-08-28 00:43:31 +02:00
Bruno Sutic
1e945c2cac Enable selectively restoring processes
- user can restore all processes with ':all:'
- user can selectively restore wanted processes

Closes #13
2014-08-27 16:19:36 +02:00
Bruno Sutic
7f50660918 User option for disabling pane process restoring 2014-08-27 13:12:32 +02:00
Bruno Sutic
cbf58ac613 Restore all pane processes
Close #3
2014-08-27 00:28:35 +02:00
Bruno Sutic
bcad7cd1ea Bugfix: correct pane ordering in window 2014-08-26 20:57:53 +02:00
Bruno Sutic
4d5c0a2a0d Improve active/alternate window restoring 2014-08-26 20:29:55 +02:00
Bruno Sutic
8051fb9d36 Restore pane layout for each window
Close #2
2014-08-26 20:19:34 +02:00
Bruno Sutic
8166fa2602 Restore active and alternate window for each session
Closes #12
2014-08-26 19:16:51 +02:00
Bruno Sutic
ecc42c5a56 Save and restore active pane
Active pane is restored for each window with multiple panes.

Closes #5
2014-08-26 18:54:39 +02:00
Bruno Sutic
aa8f323b8b Improved handling of fields that can be empty 2014-08-26 17:51:56 +02:00
Bruno Sutic
c78a38803a Bugfix: non-existing window names
Fixes #11
2014-08-26 17:28:40 +02:00
Bruno Sutic
877780eb02 Save and restore current and alternate session
Closes #6
2014-08-26 17:27:46 +02:00
Bruno Sutic
81ed0811b4 Error msg if saved session file doesn't exist
Close #9
2014-08-26 15:52:07 +02:00
Bruno Sutic
732d53cede Support only Tmux v1.9 or greater
Closes #1
2014-08-26 15:47:31 +02:00
Bruno Sutic
5c2853a55f Sessions directory is configurable
Close #10
2014-08-26 15:40:50 +02:00
Bruno Sutic
70d78e8d73 Saving a session does not override the previous one
Close #7
2014-08-26 15:31:47 +02:00
Bruno Sutic
1280e659d5 Remove debugging statements 2014-08-26 15:23:12 +02:00
Bruno Sutic
09869110fc Restoring tmux sessions works 2014-08-26 13:20:15 +02:00
Bruno Sutic
b0f5fe18d8 Create a session saver script 2014-08-26 12:24:31 +02:00
Bruno Sutic
651b14075a Create plugin start script 2014-08-26 12:23:58 +02:00