X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/669b0c340bdb930d5f40ff65e09ba88c7aafff19..d720de4bb6ef9a214be1a86dbdd5d23cb665a953:/manual.txt diff --git a/manual.txt b/manual.txt index 674224f..64afe2a 100644 --- a/manual.txt +++ b/manual.txt @@ -173,6 +173,15 @@ The diff view:: has changed since the last commit, or the commit diff complete with log message, diffstat and diff. +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:: Is used for displaying both input from stdin and output from git commands entered in the internal prompt. @@ -215,7 +224,9 @@ m Switch to main view. d Switch to diff view. l Switch to log view. p Switch to pager view. -h, ? Show man page. +t Switch to (directory) tree view. +f Switch to (file) blob view. +h Show man page. ----------------------------------------------------------------------------- [[view-manipulation]] @@ -250,8 +261,8 @@ Key Action ----------------------------------------------------------------------------- j Move cursor one line up. k Move cursor one line down. -PgUp b \ -a Move cursor one page up. +PgUp,\ +-,a Move cursor one page up. PgDown Space Move cursor one page down. Home Jump to first line. End Jump to last line. @@ -270,6 +281,19 @@ w Scroll view one page up. s Scroll view one page down. ----------------------------------------------------------------------------- +[[searching]] +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. +----------------------------------------------------------------------------- + [[misc-keys]] Misc ~~~~ @@ -283,7 +307,7 @@ z Stop all background loading. This can be useful if you use \ tig in a repository with a long history without limiting \ the revision log. v Show version. -n Toggle line numbers on/off. +'.' Toggle line numbers on/off. g Toggle revision graph visualization on/off. ':' Open prompt. This allows you to specify what git command \ to run. Example `:log -p`