Skip to content

Commit

Permalink
Minor update to tigrc and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
koutcher committed Feb 5, 2024
1 parent c60d029 commit afea945
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/tigrc.5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ The following variables can be set:
Number of context lines to show for diffs.
'word-diff' (bool)::
Show a word diff. Only plain mode is supported. Off by default.
'diff-highlight' (mixed)::
Whether to highlight diffs using Git's 'diff-highlight' program. Defaults
Expand Down Expand Up @@ -320,6 +324,10 @@ The following variables can be set:
Wrap long lines. By default, lines are not wrapped.
Not compatible with line numbers enabled.
'wrap-search' (bool)::
Wrap around to top/bottom of view when searching. On by default.
'focus-child' (bool)::
Whether to focus the child view when it is opened. When disabled the
Expand Down
1 change: 1 addition & 0 deletions tigrc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ set status-show-untracked-files = yes # Show untracked files?
set ignore-space = no # Enum: no, all, some, at-eol (diff)
set show-notes = yes # When non-bool passed as `--show-notes=...` (diff)
#set diff-context = 3 # Number of lines to show around diff changes (diff)
#set word-diff = yes # Show a word diff? (diff)
#set diff-options = -C # User-defined options for `tig show` (git-diff)
#set diff-highlight = true # String (or bool): Path to diff-highlight script,
# defaults to `diff-highlight`.
Expand Down

0 comments on commit afea945

Please sign in to comment.