Search code examples
vimpluginsvundle

Why vim's <Leader> key not working when I want to use bufexplorer or vim-buffergator plugin?


I am using Ubuntu now.

I used vundle installed bufexplorer and vim-buffergator plugin for vim. But when I type ¥be or ¥b, the <Leader> key ¥ not working in the vim editor. Is it necessary to set something in the ~/.vimrc file?

I didn't meet this problem until now, even I used Ubuntu or CentOS before.


Solution

  • 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. 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.)