-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rc4. New example for focusing panes. Fix bug where focus: pane would …
…break when loading with tmux session.
- Loading branch information
Showing
10 changed files
with
112 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"windows": [ | ||
{ | ||
"panes": [ | ||
{ | ||
"shell_command": [ | ||
"pwd", | ||
"echo 'this pane should be selected on load'" | ||
], | ||
"focus": true | ||
}, | ||
{ | ||
"shell_command": [ | ||
"cd /var/log", | ||
"pwd" | ||
] | ||
} | ||
], | ||
"window_name": "attached window on load", | ||
"focus": true | ||
}, | ||
{ | ||
"panes": [ | ||
"pane", | ||
{ | ||
"shell_command": [ | ||
"echo 'this pane should be focused, when window switched to first time'" | ||
], | ||
"focus": true | ||
}, | ||
"pane" | ||
], | ||
"shell_command_before": "cd /var/www", | ||
"window_name": "second window" | ||
} | ||
], | ||
"session_name": "focus window and pane when loading sessions" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
session_name: focus | ||
windows: | ||
- window_name: attached window | ||
focus: true | ||
panes: | ||
- shell_command: | ||
- pwd | ||
- echo 'this pane should be selected on load' | ||
focus: true | ||
- shell_command: | ||
- cd /var/log | ||
- pwd | ||
- window_name: second window | ||
shell_command_before: cd /var/log | ||
panes: | ||
- pane | ||
- shell_command: | ||
- echo 'this pane should be focused, when window switched to first time' | ||
focus: true | ||
- pane |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
|
||
import logging | ||
|
||
__version__ = '0.1.0rc2' | ||
__version__ = '0.1.0rc4' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters