Wednesday, March 28, 2012

Re: delete between lines problem

On Wednesday, March 28, 2012 11:16:01 PM UTC+13, (unknown) wrote:
> ...I would like to go from this
> main :: IO ()
> main = first line of something  -- cursors is somewhere here
>        second line of something
>
> to this
>
> main :: IO ()
> main = second line of something

Others have told you about J and variations, but another way is to use "characterwise" visual mode:

T=vjhd

"Visualizing" stuff before deleting it can help avoid mistakes.

Regards, John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment