LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting editor to vi from emacs on OSX (https://www.linuxquestions.org/questions/linux-newbie-8/setting-editor-to-vi-from-emacs-on-osx-714078/)

curtisa 03-24-2009 10:17 AM

Setting editor to vi from emacs on OSX
 
Hi,

When I use svn on OSX it opens up emacs but I would rather use vi. Anyone know how to set it to be vi please (I've tried putting 'set keymap vi' into my bash_profile but no luck).

Thanks,
Alex

instrumentpilot 03-24-2009 10:52 AM

I think this works (if you are using bash)

export SVN_EDITOR=vi

Michael

curtisa 03-24-2009 12:38 PM

Fantastic - works fine now. Thanks very much


All times are GMT -5. The time now is 05:07 AM.