From: Bart Trojanowski Date: Fri, 20 Nov 2009 20:53:46 +0000 (-0500) Subject: keep the ,nmr hack around X-Git-Tag: 0.1~313^2~69 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=99f41984077c3e4cc9fa7a272c06149a2a029035;hp=4bcb88462212f387d39b4a277f0015dacc6916cd keep the ,nmr hack around --- diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index d3b11ba6..abb3cb46 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -747,6 +747,8 @@ function! s:NM_set_map(maps) for [key, code] in items(a:maps) exec printf('nnoremap %s %s', key, code) endfor + " --- this is a hack for development :) + nnoremap ,nmr :source ~/.vim/plugin/notmuch.vim:call NotMuch('') endfunction " --- command handler {{{1 @@ -777,8 +779,4 @@ endfunction command! -nargs=* -complete=customlist,CompleteNotMuch NotMuch call NotMuch() cabbrev notmuch =(getcmdtype()==':' && getcmdpos()==1 ? 'NotMuch' : 'notmuch') -" --- hacks, only for development :) {{{1 - -nnoremap ,nmr :source ~/.vim/plugin/notmuch.vim:call NotMuch('') - " vim: set ft=vim ts=8 sw=8 et foldmethod=marker :