]> git.notmuchmail.org Git - notmuch/commitdiff
clear the nmap before creating our bindings
authorBart Trojanowski <bart@jukie.net>
Fri, 20 Nov 2009 20:47:25 +0000 (15:47 -0500)
committerBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 05:48:52 +0000 (00:48 -0500)
vim/plugin/notmuch.vim

index 09df1ed9aea3e5ca8a15d6aba755e1264482a662..d3b11ba63ea8f6c6c98fb8345d1286b9f76c2391 100644 (file)
@@ -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 <buffer> %s %s', key, code)
         endfor