From 2619d07fa4ee701a19a08351ac4d3e7622e42877 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Fri, 5 Mar 2021 23:38:54 -0500 Subject: 237 navigate improvement (#526) * Change less invocation under navigate Thanks @cben * Don't pass regexp to less * Append navigate regexp to transient copy of less history file * Rustfmt * Store delta less hist file in XDG data directory * Don't use xdg on Windows * Fix conditional compilation for Windows * Get rid of advice not to use keep navigate feature activated --- README.md | 8 -------- 1 file changed, 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d94b23f3..a93a2788 100644 --- a/README.md +++ b/README.md @@ -448,14 +448,6 @@ In order to support this feature, Delta has to look at the raw colors it receive Use the `navigate` feature to activate navigation keybindings. In this mode, pressing `n` will jump forward to the next file in the diff, and `N` will jump backwards. If you are viewing multiple commits (e.g. via `git log -p`) then navigation will also visit commit boundaries. -The recommended way to use `navigate` is to activate it only when needed, for example - -```bash -git -c delta.navigate=true log -p -``` - -The reason that `navigate` should not be used all the time is that Delta uses `less` as its pager, and the `navigate` feature works by doing `less --pattern `. 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/237)). - ### 24 bit color (truecolor) -- cgit v1.2.3