diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-07-14 09:55:22 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-07-14 09:56:19 -0400 |
commit | 9c822093812ef7844e46b63a2610624e4019121b (patch) | |
tree | 82ed0de7e8edd30a39cd3b028b8c8c0520145296 /README.md | |
parent | 4a0c892e58293ed262a4a3a0ef636f90bac35788 (diff) |
Pass --global flag to `git config` command in README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -358,7 +358,7 @@ Use the `navigate` feature to activate navigation keybindings. In this mode, pre The recommended way to use `navigate` is to activate it only when needed, for example by doing ```bash -git config delta.navigate true +git config --global delta.navigate true ``` The reason is the following: Delta uses `less` as its pager, and the `navigate` feature works by doing `less --pattern <regex-matching-file-and-commit-lines>`. When the git output does not contain file/commit diff lines, `less --pattern` behaves unhelpfully (see [#234](https://github.com/dandavison/delta/issues/234), [#237](https://github.com/dandavison/delta/issues/2)). |