From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 04:44:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B55D3106564A for ; Fri, 16 Dec 2011 04:44:58 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4EB8FC16 for ; Fri, 16 Dec 2011 04:44:58 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBG4iv6B011618 for ; Thu, 15 Dec 2011 23:44:57 -0500 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id pBG4ivMP011617; Thu, 15 Dec 2011 23:44:57 -0500 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 23F7FBF66; Thu, 15 Dec 2011 23:44:15 -0500 (EST) To: freebsd-questions@freebsd.org In-reply-to: <20111215033334.GA10875@thought.org> (message from Gary Kline on Wed, 14 Dec 2011 19:33:34 -0800) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <20111215004227.GA9075@thought.org> <201112150111.pBF1BKuB022106@mail.r-bonomi.com> <20111215033334.GA10875@thought.org> Message-Id: <20111216044416.23F7FBF66@kev.msw.wpafb.af.mil> Date: Thu, 15 Dec 2011 23:44:15 -0500 (EST) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: opening vim with a flag: ready to write? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 04:44:58 -0000 >> On Wed, 14 Dec 2011 16:42:31 -0800 >> Gary Kline may have said: G> is the a way of starting off vim or gvim and be able to type into the G> editor _without_ first typing: a,i,o,O,I,A, or any other character? The command vim --cmd start /some/file works for new files, and puts you into insert mode on the first line of an existing file. If you want to have vim start by appending to an existing file, use something like echo >> /some/file vim + --cmd start /some/file to append a line first, or your session will start in "insert" mode with the cursor at the beginning of the last line. -- Karl Vogel I don't speak for the USAF or my company Leighton Meester beats her mom in court --Dec 2011 headline that really could have been phrased better