From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 09:59:45 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 E6C7F16A4CF for ; Thu, 25 Dec 2003 09:59:45 -0800 (PST) Received: from out008.verizon.net (out008pub.verizon.net [206.46.170.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C8B543D39 for ; Thu, 25 Dec 2003 09:59:44 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([68.161.96.170]) by out008.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20031225175943.GMOE19191.out008.verizon.net@mac.com>; Thu, 25 Dec 2003 11:59:43 -0600 Message-ID: <3FEB256F.5070006@mac.com> Date: Thu, 25 Dec 2003 12:59:11 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: zhangweiwu@realss.com References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out008.verizon.net from [68.161.96.170] at Thu, 25 Dec 2003 11:59:43 -0600 cc: freebsd-questions@freebsd.org Subject: Re: need learning direction suggestions on using editors 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: Thu, 25 Dec 2003 17:59:46 -0000 Zhang Weiwu wrote: [ ... ] > Should I advance to vim right now or emacs, or is it that I didn't dig > into vi deep enough to release its full power? I wonder how many > programmers are still using 4BSD vi (compare to enchanced vi's)? Maybe > none? Maybe many? There are reasonable people who use stock vi. I happen to prefer Emacs, which is probably better suited to the requirements you've listed (cc:'ed below). vi is much lighter-weight in terms of disk space and resource usage, although my fond(?) memories of a ~100K staticly-linked vi binary are outdated. :-) > I know very few about editors other than vi, if I'm going to learn > another editor now, I wish I can be using that forever, and I wish the > editor have good L10N (esp. Chinese). I do some Java program, php and > perl program but not C, and I'd likely to do these kind of program in > the coming years, so what is the best editor for my kind? One might consider: /usr/ports/chinese/emacs20 /usr/ports/editors/emacs21 > I'd like the editor's style to be accepted by readline so I can use > commandline and editor in the same way. FreeBSD uses GNU readline, which supports both Emacs-style and vi-style keybindings (RTM "man readline"), so don't worry about it. -- -Chuck