From owner-freebsd-questions@FreeBSD.ORG Sun May 4 05:14:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65D6437B401 for ; Sun, 4 May 2003 05:14:46 -0700 (PDT) Received: from fed1mtao07.cox.net (fed1mtao07.cox.net [68.6.19.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B8F943F93 for ; Sun, 4 May 2003 05:14:45 -0700 (PDT) (envelope-from chive@cox.net) Received: from anoat.phoenix.net ([68.98.91.5]) by fed1mtao07.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030504121445.XXRY1037.fed1mtao07.cox.net@anoat.phoenix.net>; Sun, 4 May 2003 08:14:45 -0400 Received: from anoat.phoenix.net (chive@localhost [127.0.0.1]) by anoat.phoenix.net (8.12.6/8.12.6) with ESMTP id h44CEgak009261; Sun, 4 May 2003 05:14:42 -0700 (MST) (envelope-from chive@anoat.phoenix.net) Received: (from chive@localhost) by anoat.phoenix.net (8.12.6/8.12.6/Submit) id h44CEfb1009260; Sun, 4 May 2003 05:14:41 -0700 (MST) Date: Sun, 4 May 2003 05:14:41 -0700 From: Nicolas Galler To: "William O'Higgins" Message-ID: <20030504121441.GA9199@anoat.phoenix> Mail-Followup-To: William O'Higgins , freebsd-questions@freebsd.org References: <20030503210831.A982@sillyrabbi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030503210831.A982@sillyrabbi> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: freebsd-questions@freebsd.org Subject: Re: vim isn't working as expected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 12:14:46 -0000 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.