Date: Sun, 4 May 2003 05:14:41 -0700 From: Nicolas Galler <beanie@gryphonmud.com> To: "William O'Higgins" <william.ohiggins@utoronto.ca> Cc: freebsd-questions@freebsd.org Subject: Re: vim isn't working as expected Message-ID: <20030504121441.GA9199@anoat.phoenix> In-Reply-To: <20030503210831.A982@sillyrabbi> References: <20030503210831.A982@sillyrabbi>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 03, 2003 at 09:08:31PM -0400, William O'Higgins wrote: > I am a new user of FreeBSD migrating from Red Hat Linux. There are a > few differences that I am having trouble with. > > vi - my editor of choice, and it doesn't work in the ways I expect it > to. I am used to vi being aliased to vim (which I have done in FreeBSD) > and having syntax highlighting, arrow keys, and a tell-tale line at the > bottom of the xterm to remind me which mode I'm in, which line and > position, and how much file I'm looking at. All these things are gone in > FreeBSD. Could someone tell me what I'm missing? Thanks. > -- > > yours, > > William > vim might work in 'compatibility mode' if it's launched as vi and you don't have a .vimrc, so make sure to create one with at least set nocompatible There should be a sample in /usr/local/share/vim. If the status line is not showing try set laststatus=2 otherwise vim might decide not to show it. The proggy works the same as on linux, it's just a matter of default config. It might be easier to find the (global, I guess) configuration file on linux and copy it to ~/.vimrc on freebsd.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030504121441.GA9199>