Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Document the ability to bind internal commands

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  • Loading branch information...
commit d4dc96cd92f8333378cc35394ed5653157c6c9d1 1 parent 0d9ef8c
Thomas Sibley tsibley authored committed
Showing with 11 additions and 4 deletions.
  1. +11 −4 tigrc.5.txt
15 tigrc.5.txt
View
@@ -342,10 +342,17 @@ e.g. "view-main", "View.Main", and "VIEW_MAIN" are the same.
Actions
~~~~~~~
-Apart from the action names listed below, all actions starting with a '!' will
-be available as an external command. External commands can contain variable
-names that will be substituted before the command is run. Valid variable names
-are:
+Apart from the action names listed below, all actions starting with a '!' or
+':' are treated specially.
+
+Actions beginning with a ':' will run an internal tig command. These internal
+commands are those which you put in a configuration file or type at the tig
+prompt. As an example, "bind generic S :source .tigrc" will source a .tigrc
+file in the current directory when 'S' is pressed.
+
+Actions beginning with a '!' will be available as an external command. External
+commands can contain variable names that will be substituted before the command
+is run. Valid variable names are:
.Browsing state variables
[frame="none",grid="none",cols="25<m,75<"]
Please sign in to comment.
Something went wrong with that request. Please try again.