Created
November 1, 2010 14:46
-
-
Save acoffman/658276 to your computer and use it in GitHub Desktop.
better directory support than the default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:peepopen_loaded = 1 | |
let g:peepopen_cwd = getcwd() | |
let s:save_cpo = &cpo | |
set cpo&vim | |
function s:LaunchPeepOpenViaVim() | |
let cwd = g:peepopen_cwd | |
silent exe "!open -a PeepOpen " . shellescape(cwd) | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment