Thursday, December 15, 2011

Re: Find non-printing characters

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

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