aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-04-19 16:41:53 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-04-19 16:41:53 -0400
commit28a106399af4f8136bc61b3f0e4d4a8306e10412 (patch)
treee9461debf892e4b2c303df37b1ee9025dc69f06c /doc
parent29d0487b271648fd1999a9325226ac1d8d5467a7 (diff)
Updated some documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/10_Advanced.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/10_Advanced.md b/doc/10_Advanced.md
index ecf5bc01..7a37f9f4 100644
--- a/doc/10_Advanced.md
+++ b/doc/10_Advanced.md
@@ -74,3 +74,15 @@ The standard input (stdin) for shell commands is determined as follows:
* If no text is selected, the entire buffer is used.
The input text is replaced with the standard output (stdout) of the command.
+
+## Remote Control
+
+Since Textadept can execute arbitrary Lua code passed via the `-e` and
+`--execute` command line switches, a side-effect of [single instance][]
+functionality on the platforms that support it is that you can remotely control
+the original instance. For example:
+
+ ta ~/.textadept/init.lua &
+ ta -e "events.emit(events.FIND, 'require')"
+
+[single instance]: 02_Installation.html#Single.Instance