diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-20 15:47:25 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-25 00:48:52 -0500 |
commit | 4bcb88462212f387d39b4a277f0015dacc6916cd (patch) | |
tree | 4cf2f33c4c78c950693b04f749f75e684900cec5 /vim | |
parent | 64339e6324d2fdc13eb3a7e357390271616528b9 (diff) |
clear the nmap before creating our bindings
Diffstat (limited to 'vim')
-rw-r--r-- | vim/plugin/notmuch.vim | 1 |
1 files changed, 1 insertions, 0 deletions
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 <buffer> %s %s', key, code) endfor |