Commond Commands in Vim command-line Mode
Edit binary, image and others files in hexadecimal and save the changes: :%!xxd : Enter command-line mode. % Matches the whole file as a range. ! Filters that range through an external command. xxd is the external shell command. The hexadecimal part on the left side of editing is valid, and the text part on the right side of editing is invalid. Save the changes(take gif file as an example): :%!xxd -r > 1_changed.gif