X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/168352eaabb19cdcaeaa7e0d4ef6f97b103e7b29..60e10e16c82e25bf2d52a3def45c93633e3c2b5c:/manual.html?ds=sidebyside diff --git a/manual.html b/manual.html index 0bf8c90..43a2b14 100644 --- a/manual.html +++ b/manual.html @@ -306,6 +306,11 @@ commit with the log message, diffstat, and the diff.

History Commands

+
  • +

    +Tree Commands +

    +
  • @@ -355,6 +360,11 @@ commit with the log message, diffstat, and the diff.

    Scrolling

  • +
  • +

    +Searching +

    +
  • @@ -513,6 +523,28 @@ TIG_MAIN_CMD

    +

    2.3. Tree Commands

    +
    +
    +TIG_TREE_CMD +
    +
    +

    + The command used for the tree view. Takes two arguments, the first + is the revision ID and the second is the path of the directory tree, + empty for the root directory. Defaults to "git ls-tree %s %s". +

    +
    +
    +TIG_BLOB_CMD +
    +
    +

    + The command used for the blob view. Takes one argument which is + the blob ID. Defaults to "git cat-file blob %s". +

    +
    +

    3. The Viewer

    @@ -530,7 +562,7 @@ and the diff view in the bottom window. You can switch between the two views by pressing Tab. To maximize the log view again, simply press l.

    3.1. Current Head and Commit ID

    The viewer keeps track of both what head and commit ID you are currently -viewing. The commit ID will follow the cursor line and change everytime time +viewing. The commit ID will follow the cursor line and change every time you highlight a different commit. Whenever you reopen the diff view it will be reloaded, if the commit ID changed.

    The head ID is used when opening the main and log view to indicate from what @@ -570,6 +602,25 @@ The diff view

    +The tree view +
    +
    +

    + Lists directory trees associated with the current revision allowing + subdirectories to be descended or ascended and file blobs to be + viewed. +

    +
    +
    +The blob view +
    +
    +

    + Displays the file content or "blob" of data associated with a file + name. +

    +
    +
    The pager view
    @@ -657,7 +708,23 @@ cellspacing="0" cellpadding="4"> - h, ? + t + + + Switch to (directory) tree view. + + + + + f + + + Switch to (file) blob view. + + + + + h Show man page. @@ -713,7 +780,7 @@ cellspacing="0" cellpadding="4"> Up - This key is "context sensitive" and will move the cursor one line up. However, uf you opened a diff view from the main view (split- or full-screen) it will change the cursor to point to the previous commit in the main view and update the diff view to display it. + This key is "context sensitive" and will move the cursor one line up. However, if you opened a diff view from the main view (split- or full-screen) it will change the cursor to point to the previous commit in the main view and update the diff view to display it. @@ -849,7 +916,60 @@ cellspacing="0" cellpadding="4">
    -

    4.5. Misc

    +

    4.5. Searching

    +
    + +++ + + + + + + + + + + + + + + + + + + + + + + + +
    + Key + + Action +
    + / + + Search the view. Opens a prompt for entering search regex to use. +
    + ? + + Search backwards in the view. Also prompts for regex. +
    + n + + Find next match for the current search regex. +
    + N + + Find previous match for the current search regex. +
    +
    +

    4.6. Misc

    - n + . Toggle line numbers on/off. @@ -931,7 +1051,7 @@ cellspacing="0" cellpadding="4">

    This section describes various ways to specify what revisions to display or otherwise limit the view to. Tig does not itself parse the described -revision options so refer to the relevant git man pages for futher +revision options so refer to the relevant git man pages for further information. Relevant man pages besides git-log(1) are git-diff(1) and git-rev-list(1).

    You can tune the interaction with git by making use of the options explained @@ -1034,20 +1154,12 @@ accomplished using:

    • -In it's current state tig is pretty much UTF-8 only. -

      -
    • -
    • -

      -If the screen width is very small the main view can draw - outside the current view causing bad wrapping. Same goes - for title and status windows. +Proper locale support: in it's current state tig is pretty much UTF-8 only.

    • -The cursor can wrap-around on the last line and cause the - window to scroll. +Horizontal scrolling.

    @@ -1079,27 +1191,28 @@ the Free Software Foundation; either version 2 of the License, or @@ -1137,7 +1250,7 @@ gitview(1)