From owner-freebsd-questions Mon Jan 20 05:10:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA29336 for questions-outgoing; Mon, 20 Jan 1997 05:10:14 -0800 (PST) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id FAA29324 for ; Mon, 20 Jan 1997 05:10:05 -0800 (PST) Received: by mail.EUnet.hu, id OAA04971; Mon, 20 Jan 1997 14:09:55 +0100 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id NAA00709; Mon, 20 Jan 1997 13:49:50 +0100 (MET) From: Zahemszky Gabor Message-Id: <199701201249.NAA00709@CoDe.hu> Subject: Re: Vi and mapping keys To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Mon, 20 Jan 1997 13:49:50 +0100 (MET) Cc: jandrese@jandrese.async.vt.edu In-Reply-To: <199701180142.BAA25108@jandrese.async.vt.edu> from Jason Andresen at "Jan 18, 97 01:42:17 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Sorry I can't help you with your problem, however I also like Vi. Anyway, I have found an excellent vi-like program vim (which stands for vi improved), which does away with a lot of the annoying aspects of vi (as options). Vim can act almost entirly like vi, or like a somewhat friendlier editor (features like deleting anywhere with the backspace key when in insert mode, deleteing/auto-append lines, and a little reminder on the bottom of the screen telling you what mode your in (plus a lot more). > The port is in ports-current/editors/vim/ Hi! Please, type in a little shorter line! Thanx! 1) nvi can delete with the backspace key in insert mode, but it doesn't show (as the original vi did it) - it's a compatibility "bug" 2) nvi can delete autoappended new-lines - uncompatibility 3) it can show you the mode, try the ":set showmode" option (in newer versions, we can use the short form ":set smd", too). Put it into your $HOME/.exrc: set showmode (without the : !), and nvi will do it, too. - compatibility, too. Of course, doesn't do so many thing. And of course, there are so many vi-like editors: elvis (I like it more then vim), a really old one: stevie, another: xvi. And a very good one: vile/xvile (VI-Like Emacs w/o X interface) Bye, Gabor