On 11/14/2010 12:45 PM, AMDx64BT wrote:
It is possible using this:
:v/^\u/d

But it deletes sentences beginning with capital letters with accents
(french, german). Do you know a way without deleting capital strange
letters?

You can use the expanded POSIX character-class for that:

  :v/^[[:upper:]]/d

which (from my 10-second testing on a file with accents as the first character of lines) seems to work for me. FWIW, I also have my 'encoding' set to UTF-8 in case that makes some sort of difference.

-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