ca0f40ced96c

vim: update peepopen
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 07 Mar 2011 09:41:06 -0500
parents e26cbad72614
children 08e37c06466c
branches/tags (none)
files .hgsubstate vim/bundle/peepopen/plugin/peepopen.vim

Changes

--- a/.hgsubstate	Mon Mar 07 09:40:42 2011 -0500
+++ b/.hgsubstate	Mon Mar 07 09:41:06 2011 -0500
@@ -5,6 +5,7 @@
 34e28b3f6f6d702ff2963b8196eccae9344ed4bc vim/bundle/markdown
 930be32a23e902ddc46135ddbb9e76b0fac0c14b vim/bundle/nerdcommenter
 7650cdc6621cd15b047dc04605b8b0bc0396564d vim/bundle/nerdtree
+e309caf6a625df3e26a578e90ef922e2539f5122 vim/bundle/python
 c6197a10ace82e0fe0c08e5cf5c017b7069a978e vim/bundle/sparkup
 27710a2224d6dd0486d1c40d09ef18dd752e7d37 vim/bundle/surround
 60731769663ea23b4763f3f0034da445ebcd3ddd vim/bundle/syntastic
--- a/vim/bundle/peepopen/plugin/peepopen.vim	Mon Mar 07 09:40:42 2011 -0500
+++ b/vim/bundle/peepopen/plugin/peepopen.vim	Mon Mar 07 09:41:06 2011 -0500
@@ -26,7 +26,7 @@
 
 function s:LaunchPeepOpenViaVim()
   let cwd = getcwd()
-  silent exe "!open -a PeepOpen " . shellescape(cwd)
+  silent exe "!open 'peepopen://" . shellescape(cwd) . "?editor=MacVim'"
 endfunction
 
 command! PeepOpen :call <SID>LaunchPeepOpenViaVim()