Commit Graph

14 Commits (c8ee803a5f8a8e6342ea127f9714cf0e036ceb1f)

Author SHA1 Message Date
Allard Hendriksen c8ee803a5f Send strings literally
When a command in the tmux source code block ended with a semi-colon,
it was previously ignored. Now we send the keys with the -l option to
send the line literally.
2018-04-19 10:49:41 +02:00
Allard Hendriksen 43f815da1c Fix bug in org-babel-prep-session:tmux
It did not set process-name correctly.
2018-04-19 10:49:21 +02:00
Allard Hendriksen 4cc0c89501 Add shell-mode syntax highlighting
Also C-c ' now opens a side buffer to edit the code block in
shell-mode.
2018-03-19 09:02:06 +01:00
Allard Hendriksen 510b5f4fee Improve README.org
- Spelling improvements
- Add syntax highlighting to configuration
- Improve wording where needed.
2018-01-11 23:39:44 +01:00
Allard Hendriksen c6d716a53c Change README to org format
Move from markdown to org mode. Seems more appropriate. I hope github
supports all the syntax.
2018-01-11 23:14:24 +01:00
Allard Hendriksen f75eb08f0c Remove :cmd support
It was not used and tmux has sensible defaults. I think it defaults to
bash now.
2018-01-11 22:20:40 +01:00
Allard Hendriksen d4752b9ec1 Add xterm support 2018-01-11 22:19:44 +01:00
Allard Hendriksen 1443272963 Clean up code
Separate session creation from starting the terminal window.
2018-01-11 21:46:52 +01:00
Allard Hendriksen beacdb5ffc Add support for tmux windows
It is now possible to create multiple windows in the same
session. One can write, for example,

echo boom

echo done

This will open up a terminal window with one tmux session, named
'hello', and two windows, named 'boom' and 'done'.
2018-01-09 09:56:18 +01:00
Allard Hendriksen d5deb53751 Implement org-babel-tmux-test
Tests the tmux functionality. Also solves some problems in the
original implementation where the temp file would be read directly
after creation, i.e. before the random string could be written to the
file.
2018-01-05 15:01:27 +01:00
Allard Hendriksen f7fd2b2301 Improve shell string escaping
Previously, some characters would be escaped by the shell before being
sent to tmux. Now, I believe this has been solved.
2018-01-05 14:24:43 +01:00
Allard Hendriksen 862d1d21b7 Update copyright statement 2018-01-03 21:06:41 +01:00
Allard Hendriksen 32717a5001 Add README 2018-01-02 19:06:43 +01:00
Allard Hendriksen 0619483254 Initial commit 2018-01-02 18:58:25 +01:00