diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-27 13:08:30 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-27 13:08:30 -0500 |
commit | ef8127076072f743f396cb3d3df946423c1dbbd4 (patch) | |
tree | 4dc15fa4f73c9dcf783f5ee41455e93887231dba /vim/plugin | |
parent | d1eb2c6ce55fa3cf3ea97d27c3dbb4c2b69419da (diff) |
vim: have ,nmr just reload the plugin w/o restarting state
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/notmuch.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 8ef6ac5..4e164b8 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -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 |