Navigate between commits in log -p #2003
-
When I use A good way to do this would be a separate key combination (e.g. j/J) for commit navigation, then the usual n/N for file/diff navigation. I assume this feature does not exist since I couldn't find anything related to it in the docs or the issues/discussion here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @rcdailey, the challenge is that the user interface we're interacting with is provided by the pager (less), not delta. You can see the So, it's a good challenge to work out what we can do here! You can definitely seed less with different regexes. The delta CLI options already provide some control there; and new functionality can be proposed and made in the delta Rust codebase. |
Beta Was this translation helpful? Give feedback.
Hi @rcdailey, the challenge is that the user interface we're interacting with is provided by the pager (less), not delta. You can see the
n
andN
keybindings described in the less manpage linked there. They work by delta seeding less with certain regexes, thatn
andN
then visit. But delta is an executable that transforms unified diff input into prettified diff output with ANSI escapes; it is not a TUI.So, it's a good challenge to work out what we can do here! You can definitely seed less with different regexes. The delta CLI options already provide some control there; and new functionality can be proposed and made in the delta Rust codebase.