Crates.io | hextazy |
lib.rs | hextazy |
version | 0.7.0 |
source | src |
created_at | 2024-09-23 07:11:49.804849 |
updated_at | 2024-09-23 07:11:49.804849 |
description | A colorful hexadecimal editor |
homepage | https://github.com/0xfalafel/hextazy |
repository | https://github.com/0xfalafel/hextazy |
max_upload_size | |
id | 1383629 |
size | 96,516 |
A coloful hexadecimal editor, inspired by hexyl.
git clone https://github.com/0xfalafel/hextazy.git
cd hextazy
cargo build
An amd64 linux binary is available: https://github.com/0xfalafel/hextazy/releases/latest/.
You can also install via cargo
:
git clone https://github.com/0xfalafel/hextazy.git
cargo install --path ./hextazy
If you don't have cargo
installed. There are installation instructions here https://doc.rust-lang.org/cargo/getting-started/installation.html.
You can install from the AUR using an AUR helper like so:
paru -S hextazy
hextazy
take the file to edit as an argument.
Usage: hextazy [file]
hextazy ./test/all_bytes.bin
You can edit the file directly. Use Tab
to switch between the Hexdecimal and Ascii editors.
Once you're done, press q
or Ctrl + C
to exit.
Key Combination | Action |
---|---|
Ctrl + Q |
Exit the app. |
Ctrl + C |
Exit the app without saving. |
q |
Exit the app (in hex editor mode). |
Tab |
Switch between ascii and hexadecimal editor mode. |
Ctrl + J |
Switch between Insert and Overwrite mode. |
Ctrl + Z |
Undo the last write. |
Ctrl + S |
Save your changes. |
Del |
Delete the following byte in Insert mode. |
: |
Open the command bar. |
Esc |
Close the command bar. |
/ |
Open the search bar. |
Key Combination | Action |
---|---|
Ctrl + → |
Jump 4 bytes to the right. |
Ctrl + ← |
Jump 4 bytes to the left. |
Ctrl + Y |
Redo, cancel the last undo. |
Ctrl + U |
Undo all changes. |
Backspace |
Move left / Undo the modification of the previous byte. |
Key Combination | Action |
---|---|
/4142 |
Search the hex value 0x4142 , and the ascii string "4142" . |
n |
Go to the next search result. |
Shift + n |
Go to the previous search result. |
:s/abc |
Search the string "acb" . |
:x/4142 |
Search the hex value 0x4142 . |
:xi/4142 |
Search the hex value in reverse order: 0x4241 . |
The command bar is opened with :
in the hexadecimal editor mode.
Command | Action |
---|---|
: |
Open the command bar. |
:q |
Close the app. |
:0x1234 |
Jump at the address 0x1234 . |
:i or :insert |
Switch to insert mode. |
:o or :overwrite |
Switch to overwrite mode. |
:hexyl |
Switch to the hexyl sytle. |
:!hexyl |
Switch to the default sytle. |