Re: git & less/vim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 29, 2009 at 10:47:08AM -0500, Brian Ericson wrote:
> Anyone know how to get git working properly with less and vim?   
> Specifically:
>
> * less does not "clear" (revert) the screen properly after commands like  
> "git log" and "git diff"
> * vim isn't using the git extensions/file types for commands like "git  
> commit"
>
> Both of these work properly in Gentoo (and vim -- but not less -- works  
> properly in Ubuntu), but it's not obvious to me what's different between  
> the distros to account for the differing behavior...

Funny, I would look at clearing the screen after a git log to be
awful, since I frequently need the commit name for the following
command.

I found what I think is the appropriate info in 'man git-config' under
the 'core.pager' setting.

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux