🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2563

Re: Arbitrary text blocks (Was: VI??? GROSS!)

#2563
From: Fernando Pereira
Date: Wed, 18 Nov 1992 22:44
23 lines
1379 bytes
In article <1992Nov17.005252@gruc19.nor.chevron.com> hjiwa@gruc19.nor.chevron.com (Jeff Wang) writes:
>bvaughan@sheps.Princeton.EDU (Barbara Vaughan) writes:
>
>|> I also found this feature useful when writing programs.  Let's say I have
>|> a section of code I decide to make conditional, so I want to indent it to
>|> make an "if.. then.." block.  I just insert a column of blanks in front of
>|> that section of code.




>
>You could use :'a,'bs/^/  / to shift a block to the right.

What about:

	>'a (TO INDENT) or
	<'a (TO UNINDENT)
-- 
*********************************************************************
*   Fernando J. G. Pereira     IST/INESC                            *
*   Lisboa - Portugal          fjp@minerva.inesc.pt                 *
*********************************************************************
Technical Details
Message-ID: <1992Nov18.224426.24018@inesc.pt>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!inesc.inesc.pt!usenet
References: <1992Nov16.221338.42264@datamark.co.nz> <1992Nov17.145011.24541@Princeton.EDU> <1992Nov17.005252@gruc19.nor.chevron.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.editors
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!inesc.inesc.pt!usenet
From: fjp@minerva.inesc.pt (Fernando Pereira)
Subject: Re: Arbitrary text blocks (Was: VI??? GROSS!)
Message-ID: <1992Nov18.224426.24018@inesc.pt>
Sender: usenet@inesc.pt (USENET News System)
Nntp-Posting-Host: minerva-2.inesc.pt
Organization: INESC, Lisboa, Portugal
References: <1992Nov16.221338.42264@datamark.co.nz> <1992Nov17.145011.24541@Princeton.EDU> <1992Nov17.005252@gruc19.nor.chevron.com>
Date: Wed, 18 Nov 1992 22:44:26 GMT
Lines: 23