Created
October 18, 2013 09:57
-
-
Save marek-saji/7039291 to your computer and use it in GitHub Desktop.
With this in .gitconfig you can use n/p keys to cycle through commits, diffs and diffs chunks in git-diff, git-show, git-log and such.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [core] | |
| pager = "printf \".less-history-file:\n.search\n\\\"^(commit|diff|@@)\n.shell\n\" > ~/.gitlesshst ; LESSHISTFILE=~/.gitlesshst less -MFRSX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment