vim: have ,nmr just reload the plugin w/o restarting state

This commit is contained in:
Bart Trojanowski 2009-11-27 13:08:30 -05:00
parent d1eb2c6ce5
commit ef81270760

View file

@ -1337,7 +1337,7 @@ function! s:NM_set_map(type, maps)
exec printf('%snoremap <buffer> %s %s', a:type, key, code)
endfor
" --- this is a hack for development :)
nnoremap ,nmr :source ~/.vim/plugin/notmuch.vim<CR>:call NotMuch('')<CR>
nnoremap ,nmr :runtime! plugin/notmuch.vim<CR>
endfunction
" --- command handler {{{1