https://github.com/benknoble/vim-hex
Hex and Bless your binary files for editing
https://github.com/benknoble/vim-hex
hex-editor vim vim-plugin
Last synced: 8 months ago
JSON representation
Hex and Bless your binary files for editing
- Host: GitHub
- URL: https://github.com/benknoble/vim-hex
- Owner: benknoble
- License: mit
- Created: 2019-11-30T21:10:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T21:28:14.000Z (almost 6 years ago)
- Last Synced: 2025-01-02T10:26:25.509Z (over 1 year ago)
- Topics: hex-editor, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-hex
[](https://benknoble.github.io/status/stable/)
`Hex` and `Bless` your binary files for editing
## Usage
If you are opening a binary file, make sure to use `vim -b` or `:edit ++binary`
- `:Hex` to start hex-editing a file
- `:Bless` or `:Hex!` to restore the normal view
You can edit the two-hexit numbers in the middle columns, and see the text
representation updated dynamically. Saving will write out the correct
representation.
## Bugs
- Saving a binary executable, even after changing nothing, corrupts
it (use `vim -b` [#4](https://github.com/benknoble/vim-hex/issues/4))
- Undo not fully supported