首先, 自带的vim是不支持python的,安装vim-nox
apt install vim-nox
安装 ripgrep ctags global(gtags)
安装python3的依赖库, 不安装的话,leaderf安装扩张会报错
sudo apt-get install build-essential python3-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev
安装leaderf扩展
:LeaderfInstallCExtension
参考:
Debian -- Details of package vim-python3 in buster