Re: emacs and git...
- From
- Francis Moreau <francis.moro@gmail.com>
- Date
- Mar 23, 2007, 09:54 UTC
- Message-ID
- <38b2ab8a0703230254x585ff89fp3e425b08cac56900@mail.gmail.com>
- In-Reply-To
- <7vtzwcqqf9.fsf@assigned-by-dhcp.cox.net>
On 3/23/07, Junio C Hamano <junkio@cox.net> wrote:
Show 6 quoted lines
> "Francis Moreau" <francis.moro@gmail.com> writes: > > > Can't git make 'cat' the default pager when run on a dumb terminal ? > > IIRC, `more` works on a dumb terminal. >
yes it does although the behaviour is a bit weird. Not all screen is used.
Show 6 quoted lines
> But using PAGER=cat is a longstanding and widely used trick > among Emacs old timers, predating the EDITOR=emacsclient, which > is even nicer. I would highly recommend it. These two > environment variables make running *everything* in compilation > mode (or shell buffer) so much nicer than otherwise. >
I think I'm going to give a try PAGER=more and EDITOR=emacsclient config with shell buffer and see if it can fit well my git usage.
I tried to use term mode but it's pretty annoying to switch between 'line' and 'char' mode all the time.
BTW Junio, just out of curiosity, do you use shell or term mode ?
-- Francis