Tag Archives: Vim

Vim:function definition file not found

How is 618 sales champion made?Uncover the secret of e-commerce’s “invigorating” hundreds of millions of sales data>>>

In the oh my Zsh environment, the OS is centos7. After manually updating VIM to version 8.1, it is found that “after entering VIM on the command line (you want to edit a file), you can’t select a file by using tab. Instead, you throw this error:

(eval):1: _vim: function definition file not found
(eval):1: _vim: function definition file not found
(eval):1: _vim: function definition file not found

After Baidu and Google search, there are two solutions:

1.

rm -rf ~/.zcompdump* & exec

After testing, it doesn’t work on my machine

2. It may be caused by the reference of ‘zplug’ in. Zshrc and the plug-in ‘lib/comfort’ in zolug, but I did not refer to this plug-in, but I did use zplug. After investigation, the problem was caused by the plug-in named ‘Zsh users/Zsh syntax highlighting’. After annotating it, execute source. Zshrc and solve it successfully