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: http://git.tremily.us/?a=commitdiff_plain;h=4bcb88462212f387d39b4a277f0015dacc6916cd;p=notmuch.git 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