On 06/14/12 04:49, Eric Weir wrote:
> 
> I swear I have been using 'Shift-V' to select paragraphs. This
> morning it's selecting only lines. I checked the Oualline book,
> and it seems selecting lines is right. What have I been doing
> then? It's got to be something with 'V'.

My guess is that each text corpus defines "paragraph" differently.
In one, I'm guessing that the working text has paragraphs all on one
line and visually wrapped with "set wrap"; whereas in the
non-working text has embedded line-breaks, with pairs of line-breaks
separating paragraphs.  In the latter case, insertion of text would
cause ragged paragraphs that you'd then have to reformat with
"gqip", as long as your paragraphs are separated by "newline
newline" (not "newline various-spaces/tabs newline").  You can also use

  vip

to highlight the paragraph.  The "ip" works as a motion, so you can
use it for deletion:

  dip

which you can read up on at

  :help ip
  :help ap

-tim


-- 
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

Reply via email to