mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 07:11:41 +01:00
keep the ,nmr hack around
This commit is contained in:
parent
4bcb884622
commit
99f4198407
1 changed files with 2 additions and 4 deletions
|
@ -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 :
|
||||
|
|
Loading…
Reference in a new issue