aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim
diff options
context:
space:
mode:
authorGravatar Bart Trojanowski <bart@jukie.net>2009-11-20 15:53:46 -0500
committerGravatar Bart Trojanowski <bart@jukie.net>2009-11-25 00:48:53 -0500
commit99f41984077c3e4cc9fa7a272c06149a2a029035 (patch)
treeb2d2514f9161c5cb754e7f53d15e7b9417fa0c6e /vim
parent4bcb88462212f387d39b4a277f0015dacc6916cd (diff)
keep the ,nmr hack around
Diffstat (limited to 'vim')
-rw-r--r--vim/plugin/notmuch.vim6
1 files changed, 2 insertions, 4 deletions
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 <buffer> %s %s', key, code)
endfor
+ " --- this is a hack for development :)
+ nnoremap ,nmr :source ~/.vim/plugin/notmuch.vim<CR>:call NotMuch('')<CR>
endfunction
" --- command handler {{{1
@@ -777,8 +779,4 @@ endfunction
command! -nargs=* -complete=customlist,CompleteNotMuch NotMuch call NotMuch(<q-args>)
cabbrev notmuch <c-r>=(getcmdtype()==':' && getcmdpos()==1 ? 'NotMuch' : 'notmuch')<CR>
-" --- hacks, only for development :) {{{1
-
-nnoremap ,nmr :source ~/.vim/plugin/notmuch.vim<CR>:call NotMuch('')<CR>
-
" vim: set ft=vim ts=8 sw=8 et foldmethod=marker :