Vim 打开二进制文件,让它不自动加最后的换行符 0a

在 .vimrc 中添加设置如下,

" for no newline when open binary file with vim and convert with :%!xxd 
set noendofline binary

设置前,

设置后,

posted @ 2020-05-18 16:53  Anonymous596  阅读(902)  评论(0编辑  收藏  举报