Did anyone check how Cream(http://cream.sf.net/ ) does it? AFAIK its hex conversion is based on Vim's own(via xxd) but extended via Vim scripts.
On Thu, Feb 10, 2011 at 5:36 AM, Ben Fritz <[email protected]> wrote: > > > On Feb 8, 4:25 pm, Peter de Ridder <[email protected]> wrote: > > Hi, > > > > Using vim do edit binary files isn't always that easy. With > > display+=uhex you can make unprintable characters show as hex, but the > > printable characters are still shown as normal characters. Using xxd > > so convert a file to hex gives a nice view of the file in both hex and > > printable characters. But editing is still a bit difficult even with > > hex editing helper scripts. e.g. insering or removing data isn't easy > > since all the xxd offsets number need to be renumbered. > > > > I noticed the other day that XXD has an option to do a raw dump or > convert back from one, without using offsets. This should in theory > allow easy insertion/deletion. I have toyed with the idea of tweaking > my hex-edit autocmds to use just %!xxd to convert TO hex mode, but > then strip off the addresses after conversion. Then to restore, > additionally strip off the ASCII view and use the xxd option which > only works with raw bytes. > > Just some random thoughts, I don't have any opinion on your patches as > of yet. > > -- > You received this message from the "vim_dev" 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 > -- Atilla Filiz -- You received this message from the "vim_dev" 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
