521f6d200d6f

Fix the refresh mapping.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 03 Apr 2012 14:07:21 -0400
parents 0bb5150e8ebf
children fa37ec671fb5
branches/tags (none)
files plugin/clam.vim

Changes

--- 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 <buffer> execute bufwinnr(' . bufnr('#') . ') . ''wincmd w'''
 
     " Map <localleader>r to "refresh" the command (call it again).
-    silent! execute 'nnoremap <silent> <buffer> <LocalLeader>r :call <SID>ExecuteInShell(''' . command . ''')<CR>:AnsiEsc<CR>'
+    silent! execute 'nnoremap <silent> <buffer> <localleader>r :call <SID>Execlam(''' . command . ''')<cr>'
 
     " Map <localleader>p to "pipe" the buffer into a new command.
     silent! execute 'nnoremap <buffer> <LocalLeader>p ggVG!'