threads / discuss / 40805

opening an editor from git-gui on a file

Subject: opening an editor from git-gui on a file

## tl;dr

3 messages between Nov 16, 2015 and Nov 16, 2015.

replies: 2people: 2as markdown or json

Adam GROSZER· Nov 16, 2015, 07:58 UTC · lore
Hi there,
Hopefully sending the question/idea to the right list...

I'm missing the feature to open a (configurable) editor with the currently selected file in git gui.

E.g. Looking at
https://cdn.tutsplus.com/net/uploads/legacy/2081_gitwin/git-gui-stage.jpg
I'd like to open my editor with the "request.php".
Any chance to have that? Or do I miss something?
-- 
Best regards,
  Adam GROSZER
--
Quote of the day:
As of next week, passwords will be entered in Morse code.
stefan.naewe@atlas-elektronik.com· Nov 16, 2015, 10:38 UTC · re: Adam GROSZER · lore

Re: opening an editor from git-gui on a file

Am 16.11.2015 um 08:58 schrieb Adam GROSZER:
Show 14 quoted lines
> Hi there,
> 
> Hopefully sending the question/idea to the right list...
> 
> I'm missing the feature to open a (configurable) editor with the
> currently selected file in git gui.
> 
> E.g. Looking at
> 
> https://cdn.tutsplus.com/net/uploads/legacy/2081_gitwin/git-gui-stage.jpg
> 
> I'd like to open my editor with the "request.php".
> 
> Any chance to have that? Or do I miss something?
I have this in my .gitconfig:
[guitool "Edit/with GVim"]
        cmd = gvim --remote-tab-silent $FILENAME
        noconsole = yes
        needsfile = yes
Works for me.
HTH,
  Stefan
-- 
----------------------------------------------------------------
/dev/random says: Why did Kamakazie pilots wear helmets???
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')" 
GPG Key fingerprint = 2DF5 E01B 09C3 7501 BCA9  9666 829B 49C5 9221 27AF
Adam GROSZER· Nov 16, 2015, 11:10 UTC · re: stefan.naewe@atlas-elektronik.com · lore

Re: opening an editor from git-gui on a file

Thank you!
Works fine. Tho I don't find any docs/references for a hotkey...
On 11/16/2015 11:38 AM, stefan.naewe@atlas-elektronik.com wrote:
Show 28 quoted lines
> Am 16.11.2015 um 08:58 schrieb Adam GROSZER:
>> Hi there,
>>
>> Hopefully sending the question/idea to the right list...
>>
>> I'm missing the feature to open a (configurable) editor with the
>> currently selected file in git gui.
>>
>> E.g. Looking at
>>
>> https://cdn.tutsplus.com/net/uploads/legacy/2081_gitwin/git-gui-stage.jpg
>>
>> I'd like to open my editor with the "request.php".
>>
>> Any chance to have that? Or do I miss something?
>
> I have this in my .gitconfig:
>
> [guitool "Edit/with GVim"]
>          cmd = gvim --remote-tab-silent $FILENAME
>          noconsole = yes
>          needsfile = yes
>
> Works for me.
>
> HTH,
>    Stefan
>
-- 
Best regards,
  Adam GROSZER
--
Quote of the day:
Rudin's Law: In a crisis that forces a choice to be made among 
alternative courses of action, most people will choose the worst one 
possible.

← back to recent threads