Permalink
Browse files

Fix the refresh mapping.

  • Loading branch information...
1 parent 1f46ec5 commit b9d592ccc98706023dbb08741caf1bede7d81a51 @sjl committed Apr 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/clam.vim
View
@@ -42,7 +42,7 @@ function! s:Execlam(command)
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!'

0 comments on commit b9d592c

Please sign in to comment.