From http://items.sjbach.com/319/configuring-vim-right (2009 archive from original) I got that you were supposed to be able to use Space as the mapleader
in vim. I've tried but it does not seem to work. Is there anyone who made it work?
Tried:
let mapleader = <space>
Try the following:
nnoremap <SPACE> <Nop>
let mapleader=" "
Make sure to write the nnoremap before mapleader, to make sure spacebar doesn't have any mapping beforehand.
Note that using :w
and :source %
while adding this into the .vimrc does not work. You have to :wq
and reopen for the change to take effect.