Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8895381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:45:47+00:00 2026-06-14T23:45:47+00:00

I knew that we can hex edit a file with vi/vim, using the command

  • 0

I knew that we can hex edit a file with vi/vim, using the command %!xxd (call *nix hex dump) and %!xxd -r (exit *nix hex dump).

The problem is, if I do some hex-editing in the hex-code area, there is no corresponding cursor displayed in the ascii-code area, and vice-versa.

In contrast, when the file is edited with ghex, there are two cursors, one is with the current edit operation, the other shows the corresponding position in the other panel.

For example, if a text file contains a letter ‘f’, and I am using ghex to edit it, the cursor in the right panel will show the current character to be edit is ‘f’, when I move the cursor to the hex value 0x66 in the left panel.

Does this feature already exist in vi/vim/xxd, but I haven’t found out?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:45:48+00:00Added an answer on June 14, 2026 at 11:45 pm

    Just so we’re clear, xxd is not a vim command; it is an external program that translates to/from hex dumps. The command %!xxd means ‘run the external program xxd, passing it the contents of this file via stdin, and replace the contents of the file with the result.’

    From that, I hope you understand that you are not using some special mode of vim to edit these hex dumps. The hex dump is simply the text you see, and you are editing it as a normal text file.

    There may be some extension to vim which provides the functionality you are looking for (I haven’t looked very hard), but in answer to your question, there is no built-in functionality to do this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can ASIHttpRequest call Restful web service ? I knew that Restkit is good at
What is Rhino.Python ? I came across it and also knew that it can
Same problem was discussed earlier and I also knew that nothing, not also a
As I was writing this function I knew that I wouldn't get tail call
I knew that in JAVA native is a special thing. It can do a
I knew that when we allocate memory by using new/new[], then we should release
I knew that we can create child themes for wordpress. But i want to
I was wondering if anyone knew of a program that can take a 3D
I was wondering if anyone knew of a Qt library method that can take
I knew that we can set innodb as engine tables. But can we add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.