change editor when rebase collapse or histedit is called

Uwe Brauer oub at mat.ucm.es
Sun Sep 18 14:18:37 UTC 2016


    > On 18/09/2016 14:18, Uwe Brauer wrote:

    > If you use:

    > hg config --edit

    > You will get your current editor with your user configuration file, (add
    > --global for the global one).

Ok that opens my global .hgrc file
    > Under the [ui] section add the path to your preferred editor in the form

    > editor = path/to/editor

Ok but I also found out that in my .login I can set an editor hg uses.
So I changed (tcsh shell)
setenv EDITOR zile
to 
setenv EDITOR /opt/emacs25/bin/emacsclient




More information about the Mercurial mailing list