git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* opening an editor from git-gui on a file
@ 2015-11-16  7:58 Adam GROSZER
  2015-11-16 10:38 ` stefan.naewe
  0 siblings, 1 reply; 3+ messages in thread
From: Adam GROSZER @ 2015-11-16  7:58 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: opening an editor from git-gui on a file
  2015-11-16  7:58 opening an editor from git-gui on a file Adam GROSZER
@ 2015-11-16 10:38 ` stefan.naewe
  2015-11-16 11:10   ` Adam GROSZER
  0 siblings, 1 reply; 3+ messages in thread
From: stefan.naewe @ 2015-11-16 10:38 UTC (permalink / raw)
  To: agroszer, git

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
-- 
----------------------------------------------------------------
/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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: opening an editor from git-gui on a file
  2015-11-16 10:38 ` stefan.naewe
@ 2015-11-16 11:10   ` Adam GROSZER
  0 siblings, 0 replies; 3+ messages in thread
From: Adam GROSZER @ 2015-11-16 11:10 UTC (permalink / raw)
  To: stefan.naewe, git

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:
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-16 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16  7:58 opening an editor from git-gui on a file Adam GROSZER
2015-11-16 10:38 ` stefan.naewe
2015-11-16 11:10   ` Adam GROSZER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).