Date: Tue, 15 Dec 2015 10:51:45 +0100 From: Polytropon <freebsd@edvax.de> To: "Gene" <fbsd@bomgardner.net> Cc: "Freebsd Questions" <FreeBSD-questions@freebsd.org> Subject: Re: freebsd-update editor choice Message-ID: <20151215105145.75e5d9ec.freebsd@edvax.de> In-Reply-To: <20151213182848.M69104@brightstar.bomgardner.net> References: <20151213182848.M69104@brightstar.bomgardner.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Dec 2015 12:31:22 -0600, Gene wrote: > I'm using freebsd-update to update my 10.1 system to 10.2. When merging files, > it insists on using the 'vi' editor. I really, really, REALLY, despise vi. Is > there a way to get it to use another editor? The OS supplies two main screen editors: vi and ee. Why vi has been the choice here (while ee would probably have been better, especially for new users) - no idea. However, you can set $EDITOR like this: # setenv EDITOR /usr/local/bin/mcedit or which editor you prefer (emacs, the, ...). To make this setting permanent, add the line to the C shell's /etc/csh.cshrc global configuration file, or ~/.cshrc for the root user. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151215105145.75e5d9ec.freebsd>