vimleader

Vim does not accept Leader key - timeout set, remapped to ",", but yet only beeps


I'm new to Vim and currently having issues with my Leader key in MacVim on OSX 10.7, freshly installed.

I've tried remapping the Leader key to ",", using

let mapleader=","

(in my .vimrc file, at its very top), increased the timeout (to 10000ms). I also activated

set showcmd

To see if it, at all, fires - but it doesnt.

:verbose map ,

does, interestingly, report "no mapping found".


Solution

  • Issue resolved - it was my fresh install of everything that simply deactivated the filetype plugin. Hence, there were no mappings at all.

    I reactivated the filetype plugin by adding

    filetype plugin on
    

    to my .vimrc file.