[英]Why vim's <Leader> key not working when I want to use bufexplorer or vim-buffergator plugin?
I am using Ubuntu now. 我现在正在使用Ubuntu。
I used vundle
installed bufexplorer
and vim-buffergator
plugin for vim. 我使用了
vundle
安装的bufexplorer
和vim-buffergator
插件。 But when I type ¥be
or ¥b
, the <Leader>
key ¥
not working in the vim editor. 但是当我输入
¥be
或¥b
, <Leader>
键¥
在vim编辑器中不起作用。 Is it necessary to set something in the ~/.vimrc
file? 是否需要在
~/.vimrc
文件中进行设置?
I didn't meet this problem until now, even I used Ubuntu or CentOS before. 直到现在我都没有遇到这个问题,即使我以前使用过Ubuntu或CentOS。
Check out whether the mappings have actually been defined via: 检查是否通过以下方式实际定义了映射:
:verbose nmap <Leader>b
This will also show what key the <Leader>
key is configured to. 这还将显示
<Leader>
键配置为的键。 If there's no output, check whether the plugin has been correctly installed (output of :scriptnames
lists the plugin script, commands like :BufExplorer
are available, etc.) 如果没有输出,请检查插件是否已正确安装(
:scriptnames
输出列出了插件脚本, :BufExplorer
等命令可用,等等)。
vim-buffergator
explanation mentioned conflict with bufexplorer
. vim-buffergator
解释提到与bufexplorer
冲突。
From https://github.com/jeetsukumaran/vim-buffergator : 从https://github.com/jeetsukumaran/vim-buffergator :
[NOTE: If you have other plugins installed that have key maps that start with "<Leader>b" (eg, BufExplorer, which uses "<Leader>bs", "<Leader>bv", etc.), then you may notice a slight delay or lag when typing the default "<Leader>b" to start Buffergator. [注意:如果您安装的其他插件的键映射以“ <Leader> b”开头(例如BufExplorer,它使用“ <Leader> bs”,“ <Leader> bv”等),则可以在键入默认的“ <Leader> b”以启动Buffergator时,会注意到一些延迟或延迟。 In this case, you should either use another keymap for Buffergator or BufExplorer.]
在这种情况下,您应该对Buffergator或BufExplorer使用另一个键映射。]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.