A Vim-inspired terminal hex editor written in C with ncurses.
It supports modal editing, hex counts, architectural-word motions, split panes, tabs, marks, macros, command mode, and scripted startup input.
make- Binary:
./hexeditor
- Open a file:
./hexeditor <file> - Launch unnamed buffer:
./hexeditor - Script startup keys:
./hexeditor -c '0x40Gi010203' <file>
- Normal/insert/visual modal editing.
- Hex + ASCII edit surfaces (toggle:
Ctrl-W T). - Splits:
:sp,:vsp, navigation withCtrl-W h/j/k/l. - Tabs:
:tabnew,:tabnext,:tabprev,:tabclose, andgt/gT. - Marks/jumps:
ma,'a,`a,'',``. - Operators/motions:
d/c/y+ motions, counts, visual selections. - Macros:
qa...q,@a, counts with replay. - Search:
/,n,Nwith text/hex patterns. - Ex commands:
:w,:w <path>,:q,:q!,:x,:fill,:set wordbytes=<n>,:s/old/new/g.
- Named buffer:
:wsaves to current file. - Unnamed buffer: use
:w <path>to assign filename and save.
- Run:
make test - Includes scripted regressions for insert/open/substitute, visual edits, marks, macros, ASCII-plane ops, and save behavior.
- Full reference:
HEXEDITOR_MANUAL.html - Open locally:
xdg-open HEXEDITOR_MANUAL.html