/kilohex

My version of the wonderful Kilo text editor in Go.

Primary LanguageGo

KiloHex

Modified version of the Kilo text editor - as a hex editor - written in Go!

Tasklist

Missing:

  • Double cursor on bytes.
  • Implement byte editing.
  • Reintroduce file saving.

Short term:

  • Extra cursor on decoded content.
  • Preserve original file permissions when writing.
  • Display current byte position in the current row.
  • Color different byte classes.
  • Utils: SplitInto()

Medium term:

  • Display column offsets in hex in the top row.
  • Support byte deletion.
  • Support byte insertion.
  • Advanced controls: PgUp / PgDn, go to line.

Long term:

  • Introduce hexdump command line arguments.
  • Introduce binary display modes.
  • Support bit operations.
  • Full Unicode support (graphemes instead of runes).
  • Decoded charset: decide based on file type.
  • Decoded charset: make it runtime switchable.

Bugs:

  • After resizing the left X-offset is not corrected.
  • Handle empty and short files.

References