rc/tools/git: enable <ret> to diff-jump
As we require diff here, it make using git log -p very convenient to go to the source files.
This commit is contained in:
parent
01fd6552af
commit
527a897584
|
@ -95,7 +95,7 @@ define-command -params 1.. \
|
||||||
diff) map_diff_goto_source=true; filetype=diff ;;
|
diff) map_diff_goto_source=true; filetype=diff ;;
|
||||||
show) map_diff_goto_source=true; filetype=git-log ;;
|
show) map_diff_goto_source=true; filetype=git-log ;;
|
||||||
show-branch) filetype=git-show-branch ;;
|
show-branch) filetype=git-show-branch ;;
|
||||||
log) filetype=git-log ;;
|
log) map_diff_goto_source=true; filetype=git-log ;;
|
||||||
status) filetype=git-status ;;
|
status) filetype=git-status ;;
|
||||||
*) return 1 ;;
|
*) return 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue
Block a user