From owner-freebsd-arch@FreeBSD.ORG Thu Mar 13 23:12:41 2008 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DC021065670 for ; Thu, 13 Mar 2008 23:12:41 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 19D338FC19 for ; Thu, 13 Mar 2008 23:12:41 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.2/8.14.2) with ESMTP id m2DNCdTl065151 for ; Thu, 13 Mar 2008 18:12:39 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 13 Mar 2008 18:12:39 -0500 (CDT) From: "Sean C. Farley" To: freebsd-arch@FreeBSD.org In-Reply-To: <20080313185431.GB85022@dragon.NUXI.org> Message-ID: References: <47D7C25D.5070908@cokane.org> <200803120945.29018.jhb@freebsd.org> <47D7E5BF.2060102@cokane.org> <20080312145734.GB26812@dragon.NUXI.org> <47D7F1EC.6040802@cokane.org> <47D88568.7000105@cokane.org> <20080313185431.GB85022@dragon.NUXI.org> User-Agent: Alpine 1.00 (BSF 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail.farley.org Cc: Subject: FreeBSD Vim style(9) plugin (was Re: SMPTODO: remove timeout(9) from ffs_softdep.c) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 23:12:41 -0000 On Thu, 13 Mar 2008, David O'Brien wrote: > On Thu, Mar 13, 2008 at 10:00:47AM -0500, Sean C. Farley wrote: >> I asked my mentor to allow me to commit the file to >> tools/tools/editing next to freebsd.el. There the Emacs and Vim >> scripts can battle it out for all eternity. :) > > This is too valuable to not have ASAP. > I've committed it as tools/tools/editing/freebsd.vim. (case matches > emacs .el) > > Let the embellishment of freebsd.vim begin! Thank you for the commit. Before I wrote it, I looked around for something similar assuming that some other FreeBSD developers must be using Vim. I assumed others have written similar plugins, or their default was FreeBSD style(9). >> I tweaked the file a bit by adding a few comments and a mapping to >> f for easy calling. BTW, I am thinking about commenting out >> the mapping before committing and letting people manually activate >> it. This is to avoid conflicts that may arise with existing mapping >> in a person's environment. > > I don't see a need - no one should be blindly using dot files without > reviewing them. OK. Just wondered. Sean -- scf@FreeBSD.org