Yeah I've googled it but haven't had much luck. I think a simpler
technique would be a simple vim script so that after you do:

git commit -a

and vim opens you run

!git diff > /tmp/diff
:split /tmp/diff

but vim script looks a little confusing and I haven't done much
investigating. I think that vim idea might be a little better though
if it could work because closing down screen takes a while. You have
to back out of two editors, exit a bash session, switch focus to the
other split window, then exit another bash session which gets a bit
over the top, where as you could finish the commit with :wq <ENTER> :q
<ENTER> which seems easier. Maybe I could modify git's pager to be

git diff > /tmp/diff && vim -o /tmp/diff %1

rather than just "vim" but I need to play with the idea first. I'll
keep you updated :-)

Phill

On Nov 7, 4:04 pm, "Robert Citek" <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 7, 2008 at 8:56 AM, Philluminati
>
> <[EMAIL PROTECTED]> wrote:
> > Is there a way to start screen and pass in parameters that will cause
> > it to split the window and run a command in each window?
>
> That would be interesting.  You can start a command in a single window
> with one of the -d options.  I don't know off the top of my head if
> there's a way to do the same with split screens.  Will experiment a
> bit later.
>
> Let us know if you discover anything.
>
> Regards,
> - Robert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to