Download the binary package from Releases and extract the executable.
go install github.com/hymkor/binview@latest
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
$ binview [FILES...]
or
$ cat FILE | binview
- 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"
)
- insert data (for example:
- a
- append data (for example:
0xFF
,U+0000
,"string"
)
- append data (for example:
- 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