🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Sven Guckes Fri, 13 Mar 1998 00:00
Re: slrn/Win32: Which editor should I use?
#39555
Author: 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.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads