hexdunk

command module
v0.0.0-...-d7c5f9e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Hexdunk

A basic gui hex-editor with vi bindings.

Features

  • Fast loading and editing of arbitrary large files.
  • Fast cut/copy/paste.
  • Looks good.
  • Unlimited undo/redo.
  • Fully written in Go.

It uses the packages:

Manual

The following operations are supported in the hex-window:

  • left click: select byte with cursor.
  • right click: edit menu popup.
  • mouse dragging: select bytes.
  • shift clicking: extends selection.

The following keys are bound (vi like)

  • h,j,k,l: move around.
  • arrow keys: move around.
  • g: goto address
  • i: insert mode (insert bytes before the cursor).
  • o: overwrite mode (overwrite bytes).
  • escape: normal mode (move around/editing operations).
  • x: cut.
  • y: copy.
  • p: paste.
  • u: undo.
  • r: redo.

Upcoming/planned features

  • goto address command
  • search/replace
  • configuration file
  • simple data inspection & editing (integers, strings, floats, etc.)
  • compound data inspection & editing (structs, lists, arrays, etc.)
  • plugin functionality (written in go)

Installation

go get github.com/snhmibby/hexdunk@main

Disclaimer

This software is (very much) in alpha version-state. It works for simple use cases, but don't try to do complicated things. I.e. there is a bug where copying from an edited file, pasting in another, then writing the edited (1st) file to disk, could potentially change the other file-view. So keep all your write-back-to disk edits to 1 file for now :)

Screenshots

Image of HexDunk editing a selection

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL