[Ilugc] Vim to edit binary file

  • From: pasokan@xxxxxxxxx (Asokan Pichai)
  • Date: Sun, 12 May 2013 15:28:34 +0530

On 12 May 2013 15:21, steve <steve at lonetwin.net> wrote:

On Sunday 12 May 2013 02:21 PM, Balasubramaniam Natarajan wrote:
Hi

I found on the net that this is the command I need to be in to edit a
binary file after converting to hex.

:%!xxd


I am confused as to why we use the *%* sign.  I know that if we need to
run
shell command we can press ESC + colon + exclamation + <shell command>.


% implies the contents of the file you are editing, for example:

Better to think of it as the contents of the edit buffer rather than file
[SNIPPED]



-- 
Asokan Pichai
*-------------------*
We will find a way. Or, make one. (Hannibal)

*To find everything profound ? that is an inconvenient trait.* It makes one
strain one's eyes all the time, and in the end one finds more than one
might have wished. -- Nietzsche

Other related posts: