Skip to content
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

似乎在 startify 的Session 中无法使用 easymotion? #13

Closed
captainfffsama opened this issue Dec 14, 2020 · 5 comments
Closed

似乎在 startify 的Session 中无法使用 easymotion? #13

captainfffsama opened this issue Dec 14, 2020 · 5 comments

Comments

@captainfffsama
Copy link

您好,似乎在使用startify 的SSave 保存会话之后 ,然后关闭neonvim,然后再启动nvim在启动页面直接进入 之前的会话,此时easymotion似乎就没法使用了,即使 vim-plug 显示 easymotion已经加载,而且之前设置的easymotion相关的map也完全无法使用...

另外,感谢您的配置,真的是肥肠不错的学习材料= =|||,虽然我还没完全吃透...

@fgheng
Copy link
Owner

fgheng commented Dec 15, 2020

请问是这样子么?我这里没有问题嫩
Peek 2020-12-15 09-23

@captainfffsama
Copy link
Author

我的系统是ubuntu18.04,我将你最新的配置和我的fork merge了,然后使用源码构建nvim到最新
反复测来一下 似乎发现问题了...
因为easymotion在vim-plug中的设置,直接nvim打开 startify的起始页,此时easymotion是不会load的= =|||,然后通过startify的选项进入到会话,然后触发easymotion 载入,此时vim-plug显示easymotion已经载入,但是easymotion的快捷键似乎没有任何效果...
但是若是在startify的起始页就触发easymotion载入,此时再进入到会话,easymotion是有效的= =|||

@fgheng
Copy link
Owner

fgheng commented Dec 15, 2020

sorry,sorry没太看懂唉

@captainfffsama
Copy link
Author

因为vim-plug 中easymotion设置了懒加载...然后直接nvim打开startify的起始页, 此时easymotion 并不会被load...

  • 若此时通过startify 直接进入之前保存的session, 然后使用easymotion,触发easymotion插件加载,vim-plug会显示easymotion加载成功,但是easymotion并没法正常工作,按f什么事情都不会发生.
  • 但是若在通过startify页面进入session之前,easymotion就已经加载成功的话, 那么进入到session之后,easymotiom还是就可以正常使用的.

现在我是直接把easymotion的懒加载去掉了,这样似乎就没啥问题了= =|||...
似乎好像只有startify有这个问题? 我试了试 使用dashboard-vim,也没遇到这个问题.

@fgheng
Copy link
Owner

fgheng commented Dec 15, 2020

哦哦,我明白了,不过具体我也不是太清楚什么原因,emmm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants