From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 08:09:22 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 9B2BF106566B for ; Fri, 16 Dec 2011 08:09:22 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 763E78FC1A for ; Fri, 16 Dec 2011 08:09:21 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id CC8CCE8060F; Fri, 16 Dec 2011 00:09:20 -0800 (PST) Date: Fri, 16 Dec 2011 00:09:20 -0800 From: Gary Kline To: Karl Vogel Message-ID: <20111216080920.GA22786@thought.org> References: <20111215004227.GA9075@thought.org> <201112150111.pBF1BKuB022106@mail.r-bonomi.com> <20111215033334.GA10875@thought.org> <20111216044416.23F7FBF66@kev.msw.wpafb.af.mil> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111216044416.23F7FBF66@kev.msw.wpafb.af.mil> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: opening vim with a flag: ready to write? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 08:09:22 -0000 On Thu, Dec 15, 2011 at 11:44:15PM -0500, Karl Vogel wrote: > Date: Thu, 15 Dec 2011 23:44:15 -0500 (EST) > From: Karl Vogel > Subject: Re: opening vim with a flag: ready to write? > To: freebsd-questions@freebsd.org > > >> 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 i was thinking about something your second option; but i've tried victor's suggestion. it works. > > to append a line first, or your session will start in "insert" mode with > the cursor at the beginning of the last line. i am putting my /bin/sh script into gtk a`short program to help the speech impaired or mute. i posted my script last month to show how with espeak -f . i'll use gvim or kate because of the abbrfev feature. my last question is: is there any way of ending textfile1 with one keystroke unstead of the standard "ECS:x[]" --yeah, i've got the src, but i'd rather not. > > -- > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community.