You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is default '' at this time. Even if I set the value of <leader> in .vimrc.local, '<leader>gs' is still \gs.
There is a dirty fix way: set the value of <leader> on top of .vimrc.plugins file, but it destroyed the previous design about load order. It's better way to modify register_hotkey function.
The text was updated successfully, but these errors were encountered:
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.
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
is default '' at this time. Even if I set the value of
<leader>
in.vimrc.local
,'<leader>gs'
is still\gs
.There is a dirty fix way: set the value of
<leader>
on top of.vimrc.plugins
file, but it destroyed the previous design about load order. It's better way to modifyregister_hotkey
function.The text was updated successfully, but these errors were encountered: