summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d3e4750)
raw | patch | inline | side by side (parent: d3e4750)
author | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 5 Feb 2008 12:50:51 +0000 (13:50 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 5 Feb 2008 12:50:51 +0000 (13:50 +0100) |
... like indentation. However, the '.git/config' thing no longer works.
tig.1.txt | patch | blob | history | |
tigrc.5.txt | patch | blob | history |
diff --git a/tig.1.txt b/tig.1.txt
index 778be9b8805d1955e0c6f74a50ae59dff50ee885..30508ea50a6973e70b6b628bc3262f69fdab3f7c 100644 (file)
--- a/tig.1.txt
+++ b/tig.1.txt
-TIG(1)
+tig(1)
======
NAME
\--::
End of tig(1) options. Useful when specifying command
options for the main view. Example:
-
- $ tig -- --since=1.month
++
+----------------------------------------------------------------------------
+$ tig -- --since=1.month
+-----------------------------------------------------------------------------
log::
Open log view using the given git log options.
encountered. All options including this one will be
passed to git log when loading the main view.
This makes it possible to say:
-
- $ tig tag-1.0..HEAD
++
+-----------------------------------------------------------------------------
+$ tig tag-1.0..HEAD
+-----------------------------------------------------------------------------
EXAMPLES
--------
ENVIRONMENT VARIABLES
---------------------
+
+In addition to environment variables used by git (e.g. GIT_DIR), tig defines
+the following:
+
TIG_LS_REMOTE::
Set command for retrieving all repository references. The command
should output data in the same format as git-ls-remote(1).
'~/.tigrc'::
User configuration file. See gitlink:tigrc[5] for examples.
-'.git/config'::
+'$GIT_DIR/config'::
Repository config file. Read on start-up with the help of
- git-repo-config(1).
+ git-config(1).
include::BUGS[]
diff --git a/tigrc.5.txt b/tigrc.5.txt
index f62a0077256fc44185679f54d85662e88d702aee..5b2843e65dc8eb26ad26e6ca235232a39f08006b 100644 (file)
--- a/tigrc.5.txt
+++ b/tigrc.5.txt
--------
[verse]
.............................................................................
-*set* variable *=* value
-*bind* keymap key action
-*color* area fgcolor bgcolor [attributes]
+*set* 'variable' *=* 'value'
+*bind* 'keymap' 'key' 'action'
+*color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
.............................................................................
[verse]
..............................................................................
- *set* variables *=* value
+*set* variables *=* value
..............................................................................
Examples:
--------------------------------------------------------------------------
- set show-rev-graph = yes # Show revision graph?
- set line-number-interval = 5 # Interval between line numbers
- set tab-size = 8 # Number of spaces per tab
- set encoding = "UTF-8" # Commit encoding
+set show-rev-graph = yes # Show revision graph?
+set line-number-interval = 5 # Interval between line numbers
+set tab-size = 8 # Number of spaces per tab
+set encoding = "UTF-8" # Commit encoding
--------------------------------------------------------------------------
The type of variables are either bool, int, and string.
[verse]
..............................................................................
- *bind* 'keymap' 'key' 'action'
+*bind* 'keymap' 'key' 'action'
..............................................................................
Examples:
--------------------------------------------------------------------------
- # A few keybindings
- bind main w scroll-line-up
- bind main s scroll-line-down
- bind main space enter
- bind diff a previous
- bind diff d next
- bind diff b move-first-line
- # 'unbind' the default quit key binding
- bind main Q none
- # An external command to update from upstream
- bind generic F !git fetch
- # Cherry-pick current commit unto current branch
- bind generic C !git cherry-pick %(commit)
+# A few keybindings
+bind main w scroll-line-up
+bind main s scroll-line-down
+bind main space enter
+bind diff a previous
+bind diff d next
+bind diff b move-first-line
+# 'unbind' the default quit key binding
+bind main Q none
+# An external command to update from upstream
+bind generic F !git fetch
+# Cherry-pick current commit unto current branch
+bind generic C !git cherry-pick %(commit)
--------------------------------------------------------------------------
Keys are mapped by first searching the keybindings for the current view, then
[verse]
..............................................................................
- *color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
+*color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
..............................................................................
Examples:
------------------------------------------------------------------------------
- # Diff colors
- color diff-header yellow default
- color diff-index blue default
- color diff-chunk magenta default
- # A strange looking cursor line
- color cursor red default underline
- # UI colors
- color title-blur white blue
- color title-focus white blue bold
+# Diff colors
+color diff-header yellow default
+color diff-index blue default
+color diff-chunk magenta default
+# A strange looking cursor line
+color cursor red default underline
+# UI colors
+color title-blur white blue
+color title-focus white blue bold
------------------------------------------------------------------------------
Area names::