I'm trying to change <Leader>
in MacVim to be something less carpal-tunnel inducing. I have added this line
let mapleader=","
to my .gvimrc, but "\" is still the only key that works. Am I missing something?
I'm trying to change <Leader>
in MacVim to be something less carpal-tunnel inducing. I have added this line
let mapleader=","
to my .gvimrc, but "\" is still the only key that works. Am I missing something?
The line needs to go into your normal .vimrc
(instead of .gvimrc
). .gvimrc
is not read until all plugins have been loaded, by which time all the mappings have already been created with the default map leader.
.gvimrc
is intended only for GUI-specific options, everything else should be in .vimrc
.
I use macvim and it does seem to use the .vimrc I also have leader mapped to that character.