emacs vimpulse 错误
我最近刚刚开始使用 emacs,仅用于 org-mode。我是 vim 的重度用户,所以我安装了 vimpulse 来尝试保留我的组织- 模式用法尽可能接近vim。
但是,当我尝试使用某些功能时,我遇到了一些错误。例如,如果我按 V
进入可视线模式,选择一些行,然后按 d
,它应该删除这些行。相反,我收到以下错误:
Symbol's functionDefinition is void: vimpulse-delete-text-objects-function
同样,如果我尝试使用 ciw
来“更改这个单词” ”,我得到(点击 i
后):
Symbol's functionDefinition is void: vimpulse-change-text-objects-command
如果我打开 vimpulse 的源代码,我可以清楚地看到这两个函数的定义,所以它们不是未定义的。这是我对可能造成这种情况的最佳猜测。任何对 emacs/vimpulse 有更多经验的人都知道到底出了什么问题?
I've just recently started to use emacs a bit, solely for org-mode. I'm a heavy vim user, so I installed vimpulse to attempt to keep my org-mode usage as close to vim as possible.
However, I've been hitting some errors when I try to use some features. For example, if I press V
for visual line mode, select some lines, and then push d
, it should delete those lines. Instead, I get the following error:
Symbol's function definition is void: vimpulse-delete-text-objects-function
Similarly, if I try to use ciw
for "change this word", I get (after hitting the i
):
Symbol's function definition is void: vimpulse-change-text-objects-command
If I open the source for vimpulse, I can clearly see the definitions for these two functions, so they're not undefined. That was about my best guess though as to what could be causing this. Anyone with more experience with emacs/vimpulse that knows what's actually going wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在没有任何自定义的情况下运行 emacs:
然后手动加载
vimpulse
和org-mode
包:并尝试您的 cid 和 v 向下向下 d。
我希望它能正常工作(它对我来说是有效的,Emacs 23.1)。如果确实如此,那么您的
.emacs
中就有一些东西把东西弄乱了。如果没有,那么我们必须进行更多调试。Try running emacs without any of your customizations:
Then manually load in the
vimpulse
andorg-mode
packages:And try your cid and v DOWN DOWN d.
I expect that will work properly (it did for me, Emacs 23.1). If it does, then you've got something in your
.emacs
that's mussing stuff up. If not, then we've got to do some more debugging.