Thursday, December 15, 2011

Re: Find non-printing characters

On 16/12/11 03:09, Gary Johnson wrote:
> On 2011-12-16, Tony Mechelynck wrote:
>
> If I'm following you correctly, then
>
>> For Latin1, the nonprinting characters are 0x00 to 0x1F (Ctrl-@ to
>> Ctrl-_) and 0xFF to 0x9F (Ctrl-? to Ctrl-Alt-_). The following
>
> that 0xFF should be 0x7F, and these mappings
>
>> mapping ought to find them (assuming 'magic' and 'nocompatible'):
>>
>> :map<F4> /[<Bslash>x00-<Bslash>x1F<Bslash>xFF-<Bslash>x9F]<CR>
>> :map<S-F4> ?[<Bslash>x00-<Bslash>x1F<Bslash>xFF-<Bslash>x9F]<CR>
>
> should be
>
> :map<F4> /[<Bslash>x00-<Bslash>x1F<Bslash>x7F-<Bslash>x9F]<CR>
> :map<S-F4> ?[<Bslash>x00-<Bslash>x1F<Bslash>x7F-<Bslash>x9F]<CR>
>
> Best regards,
> Gary
>

oops, right.

Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
244. You use more than 20 passwords.

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