Commit Graph

240 Commits

Author SHA1 Message Date
Bruno Sutic
b8cc90a7f4 Merge pull request #148 from kmiasko/patch-1
Fixed typo in Session.vim file name.
2016-05-28 17:27:40 +02:00
Krzysztof Miąsko
c6a4d9dfd1 Fixed typo in Session.vim file name. 2016-05-16 23:28:54 +02:00
Bruno Sutic
a2eb3b01d2 Merge pull request #125 from HeathNaylor/master
Fix comparision operators. Fixes #124
2016-01-30 10:49:40 +01:00
Heath Naylor
3bc852bbae Fix comparision operators. Fixes #124 2016-01-29 09:41:52 -07:00
Bruno Sutic
370b4861cb Revert "Symlink 'last' file at the end of successful save"
This reverts commit 6750a88e74.
2015-11-25 13:42:37 +01:00
Bruno Sutic
6750a88e74
Symlink 'last' file at the end of successful save 2015-11-25 13:40:54 +01:00
Bruno Sutic
5f04ceabbc
Add sleep when saving zoomed windows
When saving zoomed windows:

- window is un-zoomed
- window layout snapshot is taken
- window is zoomed back

This is done because otherwise tmux does not provide correct window
layout. With this we're working around a tmux bug really.

The above causes an issue with vim. For some reason vim cannot properly
reload it's content when "un-zoom + zoom" is done quickly. Everything
works ok if a little sleep/wait is added, so we're doing just that.
0.1 second sleep seems to be enough.

About `sleep 0.1 || sleep 1`: this is a hack. We want to wait for 0.1
seconds, which seems to be enough to fix the issue. However, according
to POSIX, `sleep` command takes only integers.
BUT, decimal values seem to work everywhere. So, we're using a decimal
value, and if that fails, we behave POSIX friendly.

Related to issue #112.
2015-10-26 01:22:46 +01:00
Bruno Sutic
fbfb0993a1 Merge pull request #113 from peteches/master
Adding png attributes as binary files so git does not swap the crlf t…
2015-10-15 13:58:45 +02:00
Pete "Peteches" McCabe
7fc9757e9d Adding png attributes as binary files so git does not swap the crlf to lf. 2015-10-14 18:06:20 +00:00
Bruno Sutic
3ae61a70f2
Mention cygwin support in the terminal 2015-10-08 18:30:08 +02:00
Bruno Sutic
c0eeb04874
Improve cygwin support 2015-10-08 18:25:16 +02:00
Bruno Sutic
7fd2c979f0
Document known issue for restore pane contents feature 2015-08-21 17:46:39 +02:00
Bruno Sutic
550ef94ec4
Update doc for restoring programs 2015-08-20 02:50:22 +02:00
Bruno Sutic
66e95a243a
Migrating from tmuxinator guide typo 2015-08-19 00:01:03 +02:00
Bruno Sutic
53578fee8b
Added guide for migrating from tmuxinator 2015-08-18 23:56:57 +02:00
Bruno Sutic
06b8ad744a
Mutt added to the list of automatically restored programs 2015-08-14 19:23:36 +02:00
Bruno Sutic
82837109d4
Additional info about restoring programs 2015-08-10 19:35:56 +02:00
Bruno Sutic
4d5c30c29a
Move all docs to 'docs/' dir 2015-08-10 18:56:50 +02:00
Bruno Sutic
e81f8e5f37
More portable pane_capture archiving 2015-07-10 19:29:40 +02:00
Bruno Sutic
a47236d247
Implement pane content files compression 2015-07-10 18:01:20 +02:00
Bruno Sutic
a750628a44
Change 'save pane contents' directory 2015-07-08 00:14:40 +02:00
Bruno Sutic
74773bed62
Save pane contents only if pane not blank 2015-07-08 00:02:20 +02:00
Bruno Sutic
aa0b424ca6
Refactoring 2015-07-07 23:35:41 +02:00
Bruno Sutic
852af79075
Do not save empty trailing lines when pane content is saved 2015-07-07 19:23:47 +02:00
Bruno Sutic
6fe70853a5
Expand tilde in @resurrect-dir
Fixes #74
2015-07-07 18:23:43 +02:00
Bruno Sutic
cb6e31e12f
Update readme 2015-07-07 18:03:10 +02:00
Bruno Sutic
8ca7c5374f
Update readme wording 2015-07-07 02:33:53 +02:00
Bruno Sutic
ab91fe1cb5
Readme update for TPM changes 2015-07-07 02:31:18 +02:00
Dmitry Motylev
ed6fb9b523
try to treat inline strategy as alias for strategy
if strategy with that name exists apply it otherwise use it as inline
strategy

Closes #88
2015-06-11 15:29:13 +02:00
Bruno Sutic
8af7aed9b3
Bugfix for pane contents restoration 2015-05-12 13:31:13 +02:00
Bruno Sutic
f3c6321501
Refactoring: drop dependency on command 2015-05-09 15:05:30 +02:00
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