James G. Sack (jim) wrote:
> Carl Lowenstein wrote:
>> Is there some way to make VIM display non-ASCII characters as
>> something distinguishable.  Like octal or hex or even the way that
>> "cat -v" does?
>>
>> I know, ":1G!Gcat -v"
>>
>> But a reversible way, similar to "set list", "set nolist" would be
>> nice.  I have not found it in some reading of Steve Oualline's _Vi
>> IMproved_ book.
>>
>> The use for this is cleaning up text files that were created by
>> programs that insert non-ASCII characters for apostrophes and quotes
>> etc.
>>
> 
> google on
>   vim hex mode
> gives some good hits. First things I saw:
> 
>  set display=uhex
> also, in command mode
>  ga
> will give info about the character at the cursor position.
> 
> It seems like there ought to be a way to give pure hex rather than hex
> mixed with unicode that I get in uhex. ??

there is also a prog called bvi that looks more like a conventional hex
editor
  http://bvi.sourceforge.net/

Regards,
..jim

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to