add a string to the end of each line

:%norm A*

% = for every line
norm = type the following commands
A* = append '*' to the end of current line

OR

:%s/$/\*/g



change case: visual block + U/u



replace | to new line
:%s/|/\r/g



yank whole file
:%y+


view hex
in vi
type
:%!xxd
to view the hex strings, then
:%!xxd -r
to return to normal editing

open file
:e

open file browser
:e .