简体   繁体   中英

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".

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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