Clarified meaning of 'send' binding. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit b14061dceb79f18558f125367ccdb9f86139581f
(DIR) parent c425131154234b972ac1f0954397e3b91da0bcf4
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Wed, 21 Sep 2016 13:48:04 -0500
Clarified meaning of 'send' binding.
Diffstat:
doc/samrc.5 | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/doc/samrc.5 b/doc/samrc.5
@@ -259,7 +259,7 @@ exchange Exchange snarf buffer Control-Q
eol Move to end of line None
bol Move to beginning of line None
tab Insert a (possibly expanded) tab Tab
-send Send a command to the editor None
+send Append argument to command file None
.TE
.Pp
Additionally,
@@ -274,7 +274,7 @@ means that the given binding should perform whatever action was previously defin
For the
.Em send
command,
-the command to send is specified in the argument of the binding.
+the text to send is specified in the argument of the binding.
For example, to bind
.Em Control-Z
to undo the last 10 changes, the following line binding could be used:
@@ -283,6 +283,14 @@ to undo the last 10 changes, the following line binding could be used:
bind C z command send u10
.Ed
+Note that the
+.Dq send
+command is analagous to the
+.Dq send
+menu item:
+the argument text is simply appended to the command file.
+Thus,
+one should exercise caution if partially-completed commands exist in the command file.
.Ss "Mouse Button States"
Chords are described using two states:
a beginning state and an end state.