[prev in list] [next in list] [prev in thread] [next in thread]
List: mercurial
Subject: Re: hg commit help
From: Vivek Chaurasiya <vivekchaurasiya () gmail ! com>
Date: 2010-12-26 7:55:49
Message-ID: AANLkTikXUweihai8aZ8OXpgYdjaV0KjJFSTZw=9O31DZ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Yes. one can change the editor by exporting like:
export EDITOR=vi
do this in /etc/mercurial/hgrc file for system wide effect.
On Thu, Dec 16, 2010 at 5:45 PM, Haszlakiewicz, Eric <EHASZLA@transunion.com
> wrote:
> >-----Original Message-----
> >From: mercurial-bounces@selenic.com [mailto:mercurial-bounces@selenic.com
> ]
> >
> >whenever I do hg commit, i think the editor opened is nano ....
> >
> >I want to change the editor to vim for comitting my text messages. Is
> there
> >any way i can change it ?
>
> The hg man page has several different options, depending on whether you
> want the setting to only apply to mercurial or to other tools as well. Look
> for "editor".
> You probably have one of the EDITOR or VISUAL environment variables set.
>
> eric
>
--
Best Regards,
Vivek Kumar Chaurasiya
Graduate Student
Purdue University
[Attachment #5 (text/html)]
Yes. one can change the editor by exporting like:<br><br>export EDITOR=vi<br><br>do \
this in /etc/mercurial/hgrc file for system wide effect.<br><br><div \
class="gmail_quote">On Thu, Dec 16, 2010 at 5:45 PM, Haszlakiewicz, Eric <span \
dir="ltr"><<a href="mailto:EHASZLA@transunion.com">EHASZLA@transunion.com</a>></span> \
wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">>-----Original \
Message-----<br> >From: <a \
href="mailto:mercurial-bounces@selenic.com">mercurial-bounces@selenic.com</a> \
[mailto:<a href="mailto:mercurial-bounces@selenic.com">mercurial-bounces@selenic.com</a>]<br>
><br>
>whenever I do hg commit, i think the editor opened is nano ....<br>
><br>
>I want to change the editor to vim for comitting my text messages. Is there<br>
>any way i can change it ?<br>
<br>
The hg man page has several different options, depending on whether you want the \
setting to only apply to mercurial or to other tools as well. Look for \
"editor".<br> You probably have one of the EDITOR or VISUAL environment \
variables set.<br> <font color="#888888"><br>
eric<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<div><br>Vivek \
Kumar Chaurasiya <br>Graduate Student<br>Purdue University</div><br>
_______________________________________________
Mercurial mailing list
Mercurial@selenic.com
http://selenic.com/mailman/listinfo/mercurial
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic