Code

[GH-3] Expand %(directory) to . for the root directory
[tig.git] / tigrc.5.txt
index fe5fc74285b13738dc430426195288b54ee271d0..b373ef2595f22819de4c24a3d71fb43f54d45f0c 100644 (file)
@@ -87,10 +87,14 @@ Variables
 The following variables can be set:
 
 'show-rev-graph' (bool)::
+
+       Whether to show revision graph in the main view on start-up.
+       Can be toggled. See also line-graphics options.
+
 'show-refs' (bool)::
 
-       Whether to show revision graph, and references (branches, tags, and
-       remotes) in the main view on start-up. Can all be toggled.
+       Whether to show references (branches, tags, and remotes) in the main
+       view on start-up. Can be toggled.
 
 'show-author' (mixed) ["abbreviated" | "default" | bool]::
 
@@ -108,9 +112,9 @@ The following variables can be set:
        Width of the author column. When set to 5 or below, the author name
        will be abbreviated to the author's initials.
 
-'line-graphics' (bool)::
+'line-graphics' (mixed) [ "ascii" | "default" | "utf-8" | bool]::
 
-       Whether to use graphic characters for line drawing.
+       What type of character graphics for line drawing.
 
 'line-number-interval' (int)::
 
@@ -143,6 +147,12 @@ The following variables can be set:
        The encoding used for commits. The default is UTF-8. Note this option
        is shadowed by the "i18n.commitencoding" option in `.git/config`.
 
+'status-untracked-dirs' (bool)::
+
+       Show untracked directories contents in the status view (analog to
+       `git ls-files --directory` option. On by default.
+
+
 Bind command
 ------------
 
@@ -227,6 +237,9 @@ are:
                         empty for the root directory.
 |%(file)               |The currently selected file.
 |%(ref)                        |The reference given to blame or HEAD if undefined.
+|%(revargs)            |The revision arguments passed on the command line.
+|%(fileargs)           |The file arguments passed on the command line.
+|%(diffargs)           |The diff options passed on the command line.
 |=============================================================================
 
 As an example, the following external command will save the current commit as
@@ -301,6 +314,7 @@ put in either the .gitconfig or .git/config file:
 |scroll-line-down      |Scroll one line down
 |scroll-page-up                |Scroll one page up
 |scroll-page-down      |Scroll one page down
+|scroll-first-col       |Scroll to the first column
 |scroll-left           |Scroll one column left
 |scroll-right          |Scroll one column right
 |=============================================================================
@@ -327,6 +341,7 @@ put in either the .gitconfig or .git/config file:
 |toggle-date           |Toggle date display
 |toggle-author         |Toggle author display
 |toggle-rev-graph      |Toggle revision graph visualization
+|toggle-graphic                |Toggle (line) graphics mode
 |toggle-refs           |Toggle reference display
 |edit                  |Open in editor
 |none                  |Do nothing