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

2015-11-16 Thread stefan.naewe
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


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

2015-11-16 Thread Adam GROSZER

Thank you!

Works fine. Tho I don't find any docs/references for a hotkey...

On 11/16/2015 11:38 AM, stefan.na...@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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html