summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/keys.txt37
1 files changed, 35 insertions, 2 deletions
diff --git a/doc/en/keys.txt b/doc/en/keys.txt
index b823c619..c1b9b7fd 100644
--- a/doc/en/keys.txt
+++ b/doc/en/keys.txt
@@ -370,8 +370,27 @@ Status actions
Similar to /status xa.
-Example
-~~~~~~~
+Command execution
+~~~~~~~~~~~~~~~~~
+
+With that kind of actions, you can also execute arbitrary commands, with the
+ __exc__ keyword.
+
+
+You only have to prefix your command line with *\_exc\_*, and without the _/_.
+
+./kick Partauche added on Ctrl-w
+========================
+
+ ^W = _exc_kick Partauche
+
+========================
+
+That key binding will only work in the tabs defining the command (here, the
+MUC tab), and will show an error message in the others.
+
+Examples
+~~~~~~~~
.Config with user-defined actions
=================================
@@ -384,3 +403,17 @@ M-i = _show_important_room
M-p = _toggle_pane
-------------
=================================
+
+.Config with commands mapped
+=================================
+[source,conf]
+-------------
+[bindings]
+M-c = _exc_configure
+^Q = _exc_part RAGE QUIT
+^J = _exc_join
+^F = _exc_load figlet
+^R = _exc_load rainbow
+^S = _exc_say llollllllllllll
+-------------
+=================================