From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 19 19:59:08 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EA3516A41F for ; Wed, 19 Oct 2005 19:59:08 +0000 (GMT) (envelope-from steve@Watt.COM) Received: from wattres.watt.com (wattres.watt.com [66.93.133.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9287D43D76 for ; Wed, 19 Oct 2005 19:59:06 +0000 (GMT) (envelope-from steve@Watt.COM) Received: from wattres.watt.com (localhost.watt.com [127.0.0.1]) by wattres.watt.com (8.13.3/8.13.3) with ESMTP id j9JJx5ph067681; Wed, 19 Oct 2005 12:59:05 -0700 (PDT) (envelope-from steve@wattres.watt.com) Received: (from steve@localhost) by wattres.watt.com (8.13.3/8.13.3/Submit) id j9JJx4Sr067680; Wed, 19 Oct 2005 12:59:04 -0700 (PDT) (envelope-from steve) Message-Id: <200510191959.j9JJx4Sr067680@wattres.watt.com> X-Newsgroups: local.freebsd-hackers In-Reply-To: <4352D860.000002.03681@tide.yandex.ru> Organization: Watt Consultants From: steve@Watt.COM (Steve Watt) Date: Wed, 19 Oct 2005 12:59:04 -0700 X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: dsacode@yandex.ru X-Archived: 1129751945.601729645@wattres.Watt.COM Cc: hackers@freebsd.org Subject: Re: nvi for serious hacking X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 19:59:08 -0000 In article <4352D860.000002.03681@tide.yandex.ru> you write: >Hello, FreeBSD people. > >First thing to mention is that I'm very experienced Emacs user. I was using it [ snip reasons for becoming a VI user ] >and according to documentation it has powerful editing mechanism. It is. >So, my question goes to all FreeBSD hackers who uses `nvi' as their general >editor. Is it possible to do serious hacking with it? More accurate: I mostly use vim, not nvi. Reasons: - vim can do syntax highlighting. - vim does smart indentation "correctly" for my value of correctly. >* What programming features it support? (Does it have something like etags? >Does it have interface to gdb? And such other things..) Ctags originated with vi. I can't imagine why an editor should interface with gdb -- that's what other windows are for. >* Is it possible to use it comfortable with Dvorak layout? (I noticed some >bindings that relies on keys arrangement) I use a Dvorak keyboard all the time. It works just fine; your fingers have already learned the hard part. Besides, j and k are still next to each other, and I almost never use h or l for moving left/right (usually use space or W for right and 0 to go to beginning of line). >* How to setup it to standard FreeBSD C code indentation? And don't use >tabs as well. :set tabstop=8 shiftwidth=4 Use tabs. They're part of the FreeBSD standard, last I checked, but that's an area of religious discussion I try to avoid. >It's hard choice for me to switch old good Emacs to something new, so please >give me your opinions. I've tried emacs several times, and keep going back to vi because I don't like hitting so many modifier keys. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8" / 37N 20' 14.9" Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices...