mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-03-13 19:15:15 +01:00
clear the nmap before creating our bindings
This commit is contained in:
parent
64339e6324
commit
4bcb884622
1 changed files with 1 additions and 0 deletions
|
@ -743,6 +743,7 @@ endif
|
||||||
" --- assign keymaps {{{1
|
" --- assign keymaps {{{1
|
||||||
|
|
||||||
function! s:NM_set_map(maps)
|
function! s:NM_set_map(maps)
|
||||||
|
nmapclear
|
||||||
for [key, code] in items(a:maps)
|
for [key, code] in items(a:maps)
|
||||||
exec printf('nnoremap <buffer> %s %s', key, code)
|
exec printf('nnoremap <buffer> %s %s', key, code)
|
||||||
endfor
|
endfor
|
||||||
|
|
Loading…
Add table
Reference in a new issue