Skip to content
/ hecks Public

An easy to use terminal-based hex editor written in Python.

License

Notifications You must be signed in to change notification settings

kaadmy/hecks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

An easy to use terminal-based hex editor written in Python.


Warning! This software is very much experimental and still has issues; use at your own risk.

Usage

Global key bindings

  • Escape: Cancel any active prompts and go back to edit mode.
  • Ctrl-C: Quit.
  • Ctrl-L: Refresh screen.

Editing (byte and ASCII)

Actions:

  • Ctrl-E: Change endian.
  • Ctrl-B: Change numerical base.
  • Ctrl-S: Search.
  • Ctrl-G: Goto byte.
  • Ctrl-R: Reload file.
  • Ctrl-W: Write file.

Cursor/scrolling:

  • Up/down/left/right: Move cursor.
  • Pgup/pgdn: Previous/next page.
  • Ctrl-L: Scroll cursor to center/top/bottom.

Mode switching:

  • Tab: Toggle between byte and ASCII editing.
  • Insert: Toggle overwrite mode.
  • Ctrl-Q: Capture next key press and insert as character.
  • Ctrl-M: Modify current byte.
  • Ctrl-N: Modify current byte in binary mode.

Editing:

  • Backspace: Delete (or zero) the byte before the cursor and move the cursor left.
  • Delete: Delete (or zero) the byte under the cursor.
  • Ctrl-K: Delete from cursor to end of file.

Editing (byte)

  • Any non-digit key: Reset any active numerical digits which have not yet been written.

Search

  • Ctrl-S: Find next match.
  • Ctrl-R: Find previous match.
  • Enter: Exit search mode.

Known bugs/missing features

  • Large files (30MB+) get pretty slow (just blame Python.)
  • No undo/redo.
  • No structure decoding.

License

See file LICENSE.txt for more information.

About

An easy to use terminal-based hex editor written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages