>
> > When I edit the binary file in hex mode in vim. I would like to have the
> > ascii view updated once I change the hex value. Is it possible to do so?
>
>
> I think, the best solution would be, to filter your file back through
> xxd -r and return to the hex view by filtering it again through xxd.
>
I also think this would be the best solution. It would be made even
better if you have a command to toggle "hex mode" that is mapped to a
key, which you could then press twice to do your desired update. Or,
you could have a InsertEnter/InsertLeave autocmd that automatically
does the filtering, maybe combined with a CursorHold that checks for
modifications and does the filtering if it finds one (see :help
changetick on how to detect this).
I leave you with this:
http://vim.wikia.com/wiki/Improved_Hex_editing
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment