如何从陷阱启动Vim,并在挂起后仍然能够恢复它?
I have the following code in my ~/.zshrc:
nv() (
if vim --serverlist | grep -q VIM; then
if [[ $# -eq 0 ]]; then
vim
elif [[ $1 == -b ]]; then
shift 1
IFS=' '
vim --remote "$@"
vim --remote-send ":argdo setl binary f...