-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add git difftool support (keybinding <c-t>) #1846
Conversation
|
||
cmdStr := "git difftool --submodule " | ||
|
||
file := gui.currentlySelectedFilename() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file := gui.currentlySelectedFilename() | |
file := gui.currentlySelectedFilename() | |
if file == "" { | |
file = gui.getSelectedPath() | |
} | |
for Staged/Unstaged Changes panel
} | ||
|
||
if file != "" { | ||
cmdStr += " -- " + file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmdStr += " -- " + file | |
cmdStr += " -- " + gui.os.Quote(file) |
@@ -953,6 +954,7 @@ func EnglishTranslationSet() TranslationSet { | |||
DiffingMenuTitle: "Diffing", | |||
LcSwapDiff: "reverse diff direction", | |||
LcOpenDiffingMenu: "open diff menu", | |||
LcLaunchDiffTool: "Launch git difftool", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lc
in LcSomeTitle
actually denotes lowercase
, could you change it to launch git difftool
then?
5db6b6d
to
4686571
Compare
Hello there! Any updates with this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking as changes requested for my own bookkeeping. Let me know if you need any guidance with this @zeevro
This is superseded by #3156. Closing |
I've added the ability to launch
git difftool
for what's currently in the diff screen.