Re: [OT] Re: In vi/vim delete lines
- From: Stephane CHAZELAS <stephane_chazelas@xxxxxxxx>
- Date: Wed, 23 Jul 2008 11:58:12 +0000 (UTC)
2008-07-23, 01:04(+02), Janis Papanagnou:
[...]
What are the ways to delete the range of lines, easily and painfully?
In emacs, you can grag the mouse over a range, and then delete . or
set the current mark, move to a new location, and press the delete
region key.
Also with gvim.
Also with vim, provided your terminal has mouse support.
Also with vi if you use GNU screen and an exec filter that
converts the mouse events into vi actions.
With vim, I like the dap d} d]} di(
to delete a paragraph, delete to the end of the paragraph,
delete to the closing "}", delete inside (...)...
Very handy for C-like programming.
--
Stéphane
.
- References:
- In vi/vim delete lines
- From: puzzlecracker
- Re: In vi/vim delete lines
- From: Maxwell Lol
- [OT] Re: In vi/vim delete lines
- From: Janis Papanagnou
- In vi/vim delete lines
- Prev by Date: finding filenames with 2 or more dots
- Next by Date: Re: How come "//" is also root in bash?
- Previous by thread: Re: [OT] Re: In vi/vim delete lines
- Next by thread: Full diff between trees
- Index(es):
Relevant Pages
|