# HG changeset patch # User Steve Losh # Date 1333476441 14400 # Node ID 521f6d200d6feee5de8e86c57468f06335c6811d # Parent 0bb5150e8ebfd09cad6f6ae4f62a8bcd3d9d1d9d Fix the refresh mapping. diff -r 0bb5150e8ebf -r 521f6d200d6f plugin/clam.vim --- a/plugin/clam.vim Tue Apr 03 13:21:24 2012 -0400 +++ b/plugin/clam.vim Tue Apr 03 14:07:21 2012 -0400 @@ -42,7 +42,7 @@ silent! execute 'au BufUnload execute bufwinnr(' . bufnr('#') . ') . ''wincmd w''' " Map r to "refresh" the command (call it again). - silent! execute 'nnoremap r :call ExecuteInShell(''' . command . '''):AnsiEsc' + silent! execute 'nnoremap r :call Execlam(''' . command . ''')' " Map p to "pipe" the buffer into a new command. silent! execute 'nnoremap p ggVG!'