-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macos环境,安装vimplus之后crontab -e报错 #357
Comments
這很奇怪,你是不是做了alias vi?
On Tue, Jun 1, 2021 at 8:32 PM 薛凌康 ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/42362195/120322891-805a5580-c317-11eb-8517-4cc551d5c561.png>
没有安装vimplus时是可以用的,安装之后,执行crontab -e报上面那个错误
可以强行编辑,但是:wq保存退出之后,发现并没有保存定时任务,终端报了下面这个错误
crontab: "/usr/bin/vi" exited with status 1
在linux环境没有这种问题。
您可以告诉我怎么解决吗,或者vimplus能不能临时禁用,否则每次编辑定时任务都卸载挺麻烦的,谢谢!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#357>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHXFZSOJFLBNES3PDDFVATTQTHMBANCNFSM454SKMIA>
.
--
…------------
Best Regards
Jack
|
我检查了一下alias,并没有这个 但是在我这里,vi其实就是vim的软链接 |
你把軟連接取消試試?
On Wed, Jun 2, 2021 at 11:07 AM 薛凌康 ***@***.***> wrote:
我检查了一下alias,并没有这个
但是在我这里,vi其实就是vim的软链接
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#357 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHXFZRG7MFIXEAOCVQRIGLTQWN6VANCNFSM454SKMIA>
.
--
…------------
Best Regards
Jack
|
我这里有以下两个vi 这个错误应该是某个插件导致的吧,可以确定是哪个吗,有没有办法禁用部分插件呢。 |
沒法確定,我沒有出現你這個問題,你把vim的軟連接取消試試?
On Wed, Jun 2, 2021 at 6:01 PM 薛凌康 ***@***.***> wrote:
我这里有以下两个vi
/usr/local/bin/vi,通过brew安装的,可以取消软链接
/usr/bin/vi,也是软链接,系统带的,无法删除或重命名
这个错误应该是某个插件导致的吧,可以确定是哪个吗,有没有办法禁用部分插件呢。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#357 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHXFZXYUNTZ4PRDNAW7GFTTQX6PDANCNFSM454SKMIA>
.
--
…------------
Best Regards
Jack
|
取消vim的软链接?是vi吗,vim不是软链接,只有brew安装的可以取消,我已经取消了,仍然出现这个问题。 没办法确定问题的话,就这样吧。 |
禁用插件:YouCompleteMe,可以解决这个问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
没有安装vimplus时是可以用的,安装之后,执行
crontab -e
报上面那个错误可以强行编辑,但是
:wq
保存退出之后,发现并没有保存定时任务,终端报了下面这个错误在linux环境没有这种问题。
您可以告诉我怎么解决吗,或者vimplus能不能临时禁用,否则每次编辑定时任务都卸载挺麻烦的,谢谢!
The text was updated successfully, but these errors were encountered: