:nmap
= remapping on
=check the right hand side for user-defined left-hand-sides (and expand them recursively)
when it comes to executing the mapping
:nnoremap
= remapping off
= interpret the right hand side as if there were no mappings defined
There is no builtin command starting with <Plug>
(and important for plugin writers: there is no key "<Plug>" on your keyboard).
(If you need a beep, try
:exec "normal! \<Plug>"
)
The only thing starting with <Plug> is a user-defined mapping, usually from a plugin.
Help pointers:
:h :nmap
:h :nnoremap
:h <Plug>
:h map-listing
the latter explains `*' in the map listing.
(:help is essential. Also try <Tab> and Ctrl-D for completion, and wildcards `*' and `?'
search around with `/', try :helpgrep, etc.).
" ok:
:nnoremap <silent> <Plug>(PickerEdit) :PickerEdit<CR>
" wrong:
:nmap <silent> <Plug>(PickerEdit) :PickerEdit<CR>
" eg user swapped `;' and `:' via mapping => right hand side becomes `;PickerEdit<CR>'
" ok:
nmap <unique> <Leader>E <Plug>(PickerEdit)
" wrong:
nnoremap <unique> <Leader>E <Plug>(PickerEdit)
" just beeps, no builtin command starting with <Plug>
--
Andy