Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2010 13:26:13 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Fbsd1 <fbsd1@a1poweruser.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: text editor
Message-ID:  <20100530132613.797da749.freebsd@edvax.de>
In-Reply-To: <4C01DD3F.3040000@a1poweruser.com>
References:  <4C01DD3F.3040000@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 <fbsd1@a1poweruser.com> wrote:
> Been using ee and been happy.
> 
> Now I have need for an editor with block commands.
> Put dd on the first line of sequence number you want to start deleting and dd on the
> last line of the block and hit enter and the block of lines are deleted.
> OR
> Put cc on first line and cc on last line of black to copy and enter "I" on line where
> you want the copied block to be inserted after.
> Also same for mm meaning move block.
> 
> Is there any editors with a function like this?

Hmmm... block commands are a big strength of joe (Joe's own
editor). Start block with ^KB, end block with ^KK. Blocks
can be copied with ^KC, moved with ^KM and deleted with
^KY. ^KH and "man joe" for more details.

Another solution is mcedit, the editor that comes with the
Midnight Commander. Press PF3 on block start, move to block
end, press PF3, the block will be selected. Press PF8 to
delete it.

And a third suggestion: the (The Hessling Editor), a very
powerful editor, allthough "a bit strange" to learn. If
you already have an ISPF/PDF background, this editor will
be for you.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100530132613.797da749.freebsd>