Skip to content

Commit

Permalink
Mention use of DELTA_FEATURES in side-by-side section of manual
Browse files Browse the repository at this point in the history
Fixes #1280
  • Loading branch information
dandavison committed Jan 13, 2023
1 parent 5cef387 commit ce6448f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manual/src/side-by-side-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ By default, side-by-side view has line-numbers activated, and has syntax highlig

<table><tr><td><img width=800px src="https://user-images.githubusercontent.com/52205/87230973-412eb900-c381-11ea-8aec-cc200290bd1b.png" alt="image" /></td></tr></table>

To activate and deactivate side-by-side view from the command line, consider using the [`DELTA_FEATURES`](./features-named-groups-of-settings.md) environment variable. For example:

```
export DELTA_FEATURES=+side-by-side # activate
export DELTA_FEATURES=+ # deactivate
```

To disable the line numbers in side-by-side view, but keep a vertical delimiter line between the left and right panels, use the line-numbers format options. For example:

```gitconfig
Expand Down

0 comments on commit ce6448f

Please sign in to comment.