vimplus icon indicating copy to clipboard operation
vimplus copied to clipboard

macos 10.15 命令行里面打开vim无法操作

Open Clloz opened this issue 4 years ago • 15 comments

今天更新了10.15,由于macvim报错就卸载了,使用了系统默认的vim: VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 5 2019 21:03:34) 当进入vim的时候没有任何异常,但是在键盘上无论按什么都没有反应,当我把vimplus的配置删除的时候就能正常使用了。 打开文件也正常,也没看到任何报错,就是进去就卡住,什么操作都没响应。

Clloz avatar Oct 08 '19 14:10 Clloz

@Clloz 你好,你是在10.14上安装了vimplus然后再升级到10.15的吗?我昨天也是这么操作的,没有发现什么问题呢?你尝试在命令行里运行下xcode-select --install试试呢,使用中遇到问题都可以问我。 123

chxuan avatar Oct 09 '19 01:10 chxuan

我刚刚试了一下,还是不行,而且我发现已启动vim,cpu占用率就非常高。 From: chxuan [email protected] Reply-To: chxuan/vimplus [email protected] Date: Wednesday, October 9, 2019 at 09:22 To: chxuan/vimplus [email protected] Cc: Clloz [email protected], Mention [email protected] Subject: Re: [chxuan/vimplus] macos 10.15 命令行里面打开vim无法操作 (#182)

@Cllozhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FClloz&data=02%7C01%7C%7Cb44ed5d1eabf4167eba508d74c5735d0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637061809749428297&sdata=aEc%2BA2Qszbp2Ds6hiftK%2FJt9Fpea2R3wWowFTlCRB4M%3D&reserved=0 你好,你是在10.14上安装了vimplus然后再升级到10.15的吗?我昨天也是这么操作的,没有发现什么问题呢?你尝试在命令行里运行下xcode-select --install试试呢,使用中遇到问题都可以问我。 [Image removed by sender. 123]https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F6542180%2F66444569-4bc8c480-ea76-11e9-8324-5a9535da095d.png&data=02%7C01%7C%7Cb44ed5d1eabf4167eba508d74c5735d0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637061809749438308&sdata=s%2FV6y7qWnUZ%2BwQG%2F2uG19G64Q6QFau8HJPxKhUeqppg%3D&reserved=0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchxuan%2Fvimplus%2Fissues%2F182%3Femail_source%3Dnotifications%26email_token%3DAEHTUXYVKQQIZSGITRPTEJTQNUW65A5CNFSM4I6SOFEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWFEDA%23issuecomment-539775500&data=02%7C01%7C%7Cb44ed5d1eabf4167eba508d74c5735d0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637061809749448313&sdata=3QS4SU5OfGhEszB8ZTCHkXsRQO%2BwAeygP6tJ2ebwPes%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEHTUX5U34TOT6WKIMQNR7DQNUW65ANCNFSM4I6SOFEA&data=02%7C01%7C%7Cb44ed5d1eabf4167eba508d74c5735d0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637061809749458325&sdata=SvZKyBEFyU6GC%2FxQTso1AFyyDW9Pj%2FFJtYcE59olW5I%3D&reserved=0.

Clloz avatar Oct 09 '19 01:10 Clloz

你将ycm那个插件注释掉呢?启动的时候不启动ycm试试。

chxuan avatar Oct 09 '19 06:10 chxuan

如果启用ycm,macvim使用没有问题,补全那些是正常的?然而终端vim有问题吗?

chxuan avatar Oct 09 '19 06:10 chxuan

启动了ycm在GUI版本的macvim里面补全正常的。在终端由于昨天更新了10.15系统以后,我的macvim一直报‘dyld:Library not loaded: /usr/local/opt/ruby/lib/libruby.2.3.0.dylib’,我就用homebrew卸载了macvim,等macvim的更新。现在在终端使用的是mac默认的vim,就会出现之前的那个问题,输入vim命令进去就卡住。

From: chxuan [email protected] Reply-To: chxuan/vimplus [email protected] Date: Wednesday, October 9, 2019 at 14:25 To: chxuan/vimplus [email protected] Cc: Clloz [email protected], Mention [email protected] Subject: Re: [chxuan/vimplus] macos 10.15 命令行里面打开vim无法操作 (#182)

如果启用ycm,macvim使用没有问题,补全那些是正常的?然而终端vim有问题吗?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchxuan%2Fvimplus%2Fissues%2F182%3Femail_source%3Dnotifications%26email_token%3DAEHTUXZWLUGHSSW5MH6P2STQNV2OTA5CNFSM4I6SOFEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWYTOI%23issuecomment-539855289&data=02%7C01%7C%7Cb7ac6d4d28ff4658ea3108d74c818477%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637061991457049831&sdata=6%2FRRm0%2BnytK65xZSAPCbXl2cKFKtPBfj%2BuI%2FwFRtkCk%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEHTUX4QEPPQ7NLHFFPHKJDQNV2OTANCNFSM4I6SOFEA&data=02%7C01%7C%7Cb7ac6d4d28ff4658ea3108d74c818477%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637061991457059842&sdata=SWL06UVjtp6Stz2Wemss0zqIPM%2BHc8T3zBMJ%2FqEKpoM%3D&reserved=0.

Clloz avatar Oct 09 '19 06:10 Clloz

These instructions (using install.py) are the quickest way to install YouCompleteMe, however they may not work for everyone. If the following instructions don't work for you, check out the full installation guide.

MacVim is required. YCM won't work with the pre-installed Vim from Apple as its Python support is broken. If you don't already use MacVim, install it with Homebrew. Install CMake as well:

chxuan avatar Oct 09 '19 06:10 chxuan

了解了,我等等macvim的更新吧,谢谢你的帮助。

From: chxuan [email protected] Reply-To: chxuan/vimplus [email protected] Date: Wednesday, October 9, 2019 at 14:40 To: chxuan/vimplus [email protected] Cc: Clloz [email protected], Mention [email protected] Subject: Re: [chxuan/vimplus] macos 10.15 命令行里面打开vim无法操作 (#182)

These instructions (using install.py) are the quickest way to install YouCompleteMe, however they may not work for everyone. If the following instructions don't work for you, check out the full installation guide.

MacVim is required. YCM won't work with the pre-installed Vim from Apple as its Python support is broken. If you don't already use MacVim, install it with Homebrew. Install CMake as well:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchxuan%2Fvimplus%2Fissues%2F182%3Femail_source%3Dnotifications%26email_token%3DAEHTUXZDYVOHTFFKCCDE4NLQNV4F3A5CNFSM4I6SOFEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWZYQA%23issuecomment-539860032&data=02%7C01%7C%7C4c094b7420094949927e08d74c839446%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637062000314644399&sdata=Ex6n7B%2BkgTQoa1C13Ad%2FcQMDHmmeUpiHN8rUitphZ4E%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEHTUX4HWLURH7WSVOESJJDQNV4F3ANCNFSM4I6SOFEA&data=02%7C01%7C%7C4c094b7420094949927e08d74c839446%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637062000314654398&sdata=qPsdrYWtB1q2bWpAmrTquAx2u8d06eW7wGYan4JAtqU%3D&reserved=0.

Clloz avatar Oct 09 '19 06:10 Clloz

ycm官网说macvim是必须的,但我在mac上实测其实不需要macvim也是可以使用ycm的,你出现的这个问题你可以这样来解决,你安装macvim的时候在安装目录应该会有vim的命令行程序,你将你macvim提供的命令行程序取别名为vim试试。

chxuan avatar Oct 09 '19 06:10 chxuan

查了下macvim的issue,好像正在修复catalina的问题,我用 ‘brew install macvim –HEAD’重新安装了macvim以后已经没有问题了,现在可以正常在终端使用了。

From: chxuan [email protected] Reply-To: chxuan/vimplus [email protected] Date: Wednesday, October 9, 2019 at 14:42 To: chxuan/vimplus [email protected] Cc: Clloz [email protected], Mention [email protected] Subject: Re: [chxuan/vimplus] macos 10.15 命令行里面打开vim无法操作 (#182)

ycm官网说macvim是必须的,但我在mac上实测其实不需要macvim也是可以使用ycm的,你出现的这个问题你可以这样来解决,你安装macvim的时候在安装目录应该会有vim的命令行程序,你将你macvim提供的命令行程序取别名为vim试试。

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchxuan%2Fvimplus%2Fissues%2F182%3Femail_source%3Dnotifications%26email_token%3DAEHTUX4K2VLBNB5GCJJDSITQNV4OJA5CNFSM4I6SOFEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWZ6UA%23issuecomment-539860816&data=02%7C01%7C%7C861e830a14df4bf1848e08d74c83e413%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637062001651806468&sdata=JRmCW%2F%2BSM32UKBtxlIYqxKWg26SQmYm7ENdVZQdYDI4%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEHTUX4LR5JQ5PHSO3BJP6LQNV4OJANCNFSM4I6SOFEA&data=02%7C01%7C%7C861e830a14df4bf1848e08d74c83e413%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637062001651816479&sdata=dJHY9gYYzB13g6KcA4GZ6zhCbcCoTQB2XqsnoWMNkwE%3D&reserved=0.

Clloz avatar Oct 09 '19 06:10 Clloz

好吧,不知道为什么我也升级到了10.15,不管是macvim还是默认的终端vim都没有问题呢

chxuan avatar Oct 09 '19 06:10 chxuan

遇到同样问题,暂未解决。临时关闭youcomplete插件即可。

thinkycx avatar Feb 15 '20 16:02 thinkycx

遇到相同问题,vim8.2 os x10.15 打开vim,cpu狂飙到30%多。退出vim后,ycm进程不退出,一直存在,耗cpu。最后只能关闭了ycm

jiaoji100 avatar Jun 28 '20 11:06 jiaoji100

只能放弃ycm吗?

Hyvi avatar Jul 29 '20 15:07 Hyvi

同样出现,mac安装后,随便输入vim test.php,打开文件立刻卡死,键盘不管怎么输入都无反应,只能强制关闭终端

macOs Catalina

alisleepy avatar Sep 26 '21 16:09 alisleepy