Open Tiny-Box opened 7 years ago
Will the mapleader
variable solve your problem? Basically, it will re-map the <leader>
to any key you wish. You can learn it from :hep mapleader
in Vim.
Did I use the wrong way to set the value of <leader>
?
I insert one line in .vimrc.local
:
let mapleader = ","
In vim,
:echo mapleader
is ,
, but if I want to global search current word under cursor by <leader>gg
, ,gg
doesn't work, \gg
can work well.
My system is OS X EI Capitan 10.11.5, the version of vim is 7.3.
According to the document, if I want to modify the value of
<leader>
, it‘s recommended to modify.vimrc.local
, but it doesn't work about ex-gsearch.Because the loading order of the
.vimrc
files,.vimrc.plugins
will be first loaded. On line 48~52