🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39555

Re: slrn/Win32: Which editor should I use?

#39555
From: Sven Guckes
Date: Fri, 13 Mar 1998 00:00
28 lines
1779 bytes
cteske@neuss.netsurf.de (Carsten Teske):
> I wonder if there�s a good DOS or Windows editor
> which can properly reformat quoted lines?!

Well, there are some.  Like Vim.  Define "quotes" with "set comments=..." and
use the command "gq" followed by the text object or motion command.  Examples:

	gqip	text format of "inner paragraph"
	gqis	text format of "inner sentence"
	gqG	text format unto end of paragraph
	gqG	text format unto end of buffer

Of course you can abbreviate the commands, eg:

	:map Q gqip

Then 'Q' will reformat the current paragraph.

Sven

-- 
Sven Guckes   guckes@vim.org      | VIM = Vi IMproved  | VIM Latest versions:
VIM Home: http://www.vim.org/     | now with           | VIM-4.6  [970212]
VIM FAQ:  http://www.vim.org/faq/ | syntax coloring!   | VIM-5.0  [980219]  
VIM runs on AmigaOS, Atari MiNT, BeOS, DOS, MacOS, OS/2, UNIX, VMS, WinNT+Win95.

Technical Details
Message-ID: <slrn6gikge.ae3.guckes@rudin.math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <3508e80c.11137685@news.neuss.netsurf.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6gikge.ae3.guckes@rudin.math.fu-berlin.de>
Subject: Re: slrn/Win32: Which editor should I use?
Date: Fri, 13 Mar 1998 00:00:00 +0000
From: guckes@math.fu-berlin.de (Sven Guckes)
References: <3508e80c.11137685@news.neuss.netsurf.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 333706135
Content-Transfer-Encoding: 8bit
X-Newsreader-Info: http://www.math.fu-berlin.de/~guckes/slrn/
Mime-Version: 1.0
Reply-To: guckes@math.fu-berlin.de
Content-Type: text/plain; charset=iso-8859-1
X-Trace: fu-berlin.de 889803279 18034 (none) 160.45.40.74
Organization: Freie Universitaet Berlin
X-Access: 16 17 19
Newsgroups: news.software.readers