chxuan / vimplus

:rocket:An automatic configuration program for vim
https://github.com/chxuan/vimplus
MIT License
3.92k stars 1.13k forks source link

Exception("/bin/sh: 1: cd: can't cd to /home/ #272

Open jinzhenyu opened 4 years ago

jinzhenyu commented 4 years ago
f后报这个错误,无法查找文件,请问这种该怎么解决?
chxuan commented 4 years ago

@jinzhenyu vimplus使用LeaderF作为文件搜索插件,vimrc里配置的是搜索~目录下的文件,你那个报错怎么是无法cd到/home/路径呢

ng-cc commented 4 years ago

@chxuan 在任何目录都会报相应目录下的错误,比如Exception("/bin/sh: 1: cd: can't cd to /home/xxx/.vim/plugged/LeaderF/~\n"), Exception("/bin/sh: 1: cd: can't cd to /etc/~\n")

+f之后始终报错,+b不报错。
ng-cc commented 4 years ago

已解决,配置文件里面nnoremap f :LeaderfFile ~删除波浪符,这个波浪符在这里报错。