Skip to content

hymkor/binview

Repository files navigation

binview - Binary data viewer / editor

ScreenShot

Install

Manual installation

Download the binary package from Releases and extract the executable.

Use "go install"

go install github.com/hymkor/binview@latest

Use scoop-installer

scoop install https://raw.githubusercontent.com/hymkor/binview/master/binview.json

or

scoop bucket add hymkor https://github.com/hymkor/scoop-bucket
scoop install binview

Usage

$ binview [FILES...]

or

$ cat FILE | binview

Key-binding

  • q , ESCAPE
    • quit
  • h , BACKSPACE , ARROW-LEFT , Ctrl-B
    • move the cursor left.
  • j , ARROW-DOWN , Ctrl-N
    • move the cursor down.
  • k , ARROW-UP , Ctrl-P
    • move the cursor up.
  • l , SPACE , ARRIW-RIGHT , Ctrl-F
    • move the cursor right.
  • 0(zero) , ^ , Ctrl-A
    • move the cursor to the top of the current line.
  • $ , Ctrl-E
    • move the cursor to the tail of the current line.
  • <
    • move the cursor to the begin of the file.
  • > G
    • move thr cursor to the end of the file.
  • r
    • replace one byte
  • i
    • insert data (for example: 0xFF,U+0000,"string")
  • a
    • append data (for example: 0xFF,U+0000,"string")
  • x , DEL
    • delete and yank one byte on the cursor
  • p
    • paste 1 byte the rightside of the cursor
  • P
    • paste 1 byte the leftside of the cursor
  • u
    • undo
  • w
    • output to file
  • &
    • move the cursor to the address input
  • ALT-U
    • Change the character encoding to UTF8 (default)
  • ALT-A
    • Change the character encoding to ANSI, the current codepage (Windows-Only)
  • ALT-L
    • Change the character encoding to UTF16LE
  • ALT-B
    • Change the character encoding to UTF16BE

Release Note