In my vimrc I have
nnoremap <Leader>h :bp<CR>
nnoremap <Leader>l :bn<CR>
But I have to source my vimrc to enable them with (:so $MYVIMRC
). If I do a :map
after starting vim I will see all my other shortcuts map with leader but not this one.
Their also so no other shortcut map to <Leader>h
.
How this can happen?
I have the same problem with let @+=join([expand('%'), line(".")], ':')
mapleader
after these mappings. The default leader is a`. So do
\h` and\l
work?:verbose map <Leader>h
to see what messed it up.