diff options
author | Dan Davison <dandavison7@gmail.com> | 2019-09-06 15:27:11 +0100 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2019-09-06 15:27:11 +0100 |
commit | f016bf2b322b7d565e3dcf3245ddc51a6ca09b53 (patch) | |
tree | 5bb159cc02eb63fa3302cb90312a1e6a16329ee1 /README.md | |
parent | acf28113539f44dd315273cb73904fd0267a1b75 (diff) |
Update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -93,15 +93,19 @@ OPTIONS: --hunk-style <hunk_style> Formatting style for hunk section of git output. Options are: plain, box. [default: box] - --minus-color <minus_color> The background color (RGB hex) to use for removed lines. + --max-line-distance <max_line_distance> + The maximum distance between two lines for them to be inferred to be homologous. Homologous line pairs are + highlighted according to the deletion and insertion operations transforming one into the other. [default: + 0.3] + --minus-color <minus_color> The background color (RGB hex) to use for removed lines. --minus-emph-color <minus_emph_color> The background color (RGB hex) to use for emphasized sections of removed lines. - --plus-color <plus_color> The background color (RGB hex) to use for added lines. + --plus-color <plus_color> The background color (RGB hex) to use for added lines. --plus-emph-color <plus_emph_color> The background color (RGB hex) to use for emphasized sections of added lines. - --theme <theme> The syntax highlighting theme to use. + --theme <theme> The syntax highlighting theme to use. -w, --width <width> The width (in characters) of the background color highlighting. By default, the width is the current terminal width. Use --width=variable to apply background colors to the end of each line, without right @@ -112,9 +116,9 @@ OPTIONS: ## 24 bit color - delta works best if your terminal application supports 24 bit colors. See https://gist.github.com/XVilka/8346728. For example, on macos, iTerm2 works but Terminal.app does not. + delta works best if your terminal application supports 24 bit colors. See https://gist.github.com/XVilka/8346728. For example, on MacOS, iTerm2 works but Terminal.app does not. - If you're using tmux, it's worth checking that 24 bit color is working correctly. For example, run a color test script like [this one](https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh), or the others listed at https://gist.github.com/XVilka/8346728. If you do not see smooth color gradients, see the discussion at [tmux#696](https://github.com/tmux/tmux/issues/696). The short version is you need something like this in your `~/.tmux.conf`: + If you're using tmux, it's worth checking that 24 bit color is working correctly. For example, run a color test script like [this one](https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh), or one of the others listed [here](https://gist.github.com/XVilka/8346728). If you do not see smooth color gradients, see the discussion at [tmux#696](https://github.com/tmux/tmux/issues/696). The short version is you need something like this in your `~/.tmux.conf`: ``` set -ga terminal-overrides ",xterm-256color:Tc" ``` |