简体   繁体   English

使用shift键的project.vim和命令

[英]project.vim and commands using the shift key

I'm trying to get up and running using project.vim but for some reason, none of the keybinding requiring a capital letter seem to be working. 我正在尝试使用project.vim启动并运行,但是由于某些原因,所有要求使用大写字母的键绑定似乎都没有起作用。

For example \\C , which should create new project fold recursively, just acts like normal C, but \\c operates as expected. 例如\\C ,它应该递归地创建新的项目折叠,就像普通的C一样,但是\\c按预期运行。 Same thing with \\R and \\r . \\R\\r

I'm using MacVim with Vim 7.3 (on a Mac, obviously). 我使用的是带有Vim 7.3的MacVim(显然是在Mac上)。 Is there some kind of keybinding voodoo that I need to implement first? 我首先需要实现某种键绑定伏都教吗?

Thanks. 谢谢。

Since normal \\C works fine, the problem must be with timeoutlen option ( The time in milliseconds that is waited for a key code or mapped key sequence to complete. ). 由于normal \\C可以normal \\C工作,因此问题必须出在timeoutlen选项( 等待键代码或映射键序列完成的时间(以毫秒为单位 )。 To restore it to reasonable values, use 要将其恢复为合理值,请使用

set timeout timeoutlen=5000 ttimeoutlen=100

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM