From owner-freebsd-chat Thu Apr 20 10:10:55 2000 Delivered-To: freebsd-chat@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 1095E37BE98 for ; Thu, 20 Apr 2000 10:10:51 -0700 (PDT) (envelope-from nbm@sunesi.net) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 12iKSR-000JDs-00; Thu, 20 Apr 2000 19:09:39 +0200 Date: Thu, 20 Apr 2000 19:09:39 +0200 From: Neil Blakey-Milner To: David Scheidt Cc: Rahul Siddharthan , Alexander Langer , Christian Weisgerber , freebsd-chat@FreeBSD.ORG Subject: Re: ViM vs. Emacs Message-ID: <20000420190938.A73632@mithrandr.moria.org> References: <20000420211628.A7696@physics.iisc.ernet.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dscheidt@enteract.com on Thu, Apr 20, 2000 at 11:26:38AM -0500 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu 2000-04-20 (11:26), David Scheidt wrote: > Then you use nvi's multiple undo feature, of course. u, followed by however > many '.'s as you'd like. How do you undo an undo in vim? The Vim help claims: Nvi uses the "." command instead of CTRL-R. Unfortunately, this is not Vi compatible. For example "dwdwu." in Vi deletes two words, in Nvi it does nothing. Anyone want to test that on a 'real vi'? > I reached the conclusion that vim is not a vi clone. It's a modal editor > that happens to work something something like vi. Lots of the defaults are > wrong, it's big, and it's slow. vi is neither big nor slow. Try: alias vi vim -C The reason Vim is bigger, and possibly slower, is because it has nice stuff like syntax highlighting, proper indenting, a help system, windowing, beter regex, scripting, and so forth. All that stuff makes editing easier and more efficient. Isn't that why one uses vi? It's not like vim is massive. It's only 250k more than nvi, with insanely more useful features. Of course, when I say 'vim', I mean 'vim-lite'. Neil -- Neil Blakey-Milner Hacker In Chief, Sunesi Clinical Systems nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message