Using vim on MaxOS

N 人看过

使用vim作为16进制查看器

# 进入16进制模式
:!xxd
# 退出16进制模式
:!xxd -r

Mac Vim:

brew install vim --with-python3 --with-lua

报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools ), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决:

执行命令:

xcode-select --install