From: Bart Trojanowski Date: Fri, 20 Nov 2009 20:47:25 +0000 (-0500) Subject: clear the nmap before creating our bindings X-Git-Tag: 0.1~313^2~70 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=4bcb88462212f387d39b4a277f0015dacc6916cd;hp=64339e6324d2fdc13eb3a7e357390271616528b9 clear the nmap before creating our bindings --- diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 09df1ed9..d3b11ba6 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -743,6 +743,7 @@ endif " --- assign keymaps {{{1 function! s:NM_set_map(maps) + nmapclear for [key, code] in items(a:maps) exec printf('nnoremap %s %s', key, code) endfor