1. Steve Losh
  2. clam.vim

Commits

Steve Losh  committed 521f6d2

Fix the refresh mapping.

  • Participants
  • Parent commits 0bb5150
  • Branches default

Comments (0)

Files changed (1)

File plugin/clam.vim

View file
     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!'