From 83cc769f7bfdfc041f223378a7951d851bf3c650 Mon Sep 17 00:00:00 2001 From: yan Date: Tue, 20 Dec 2011 02:08:04 -0800 Subject: [PATCH] Remove PeepOpen plugin, using CommandT only now --- vim/plugin/peepopen.vim | 44 ----------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 vim/plugin/peepopen.vim diff --git a/vim/plugin/peepopen.vim b/vim/plugin/peepopen.vim deleted file mode 100644 index 92bda57..0000000 --- a/vim/plugin/peepopen.vim +++ /dev/null @@ -1,44 +0,0 @@ -" plugin/peepopen.vim -" Author: Geoffrey Grosenbach -" License: MIT License - -" Install this file as plugin/peepopen.vim. - -" If you prefer Command-T, use this snippet in your .gvimrc: - -" if has("gui_macvim") -" macmenu &File.New\ Tab key= -" map PeepOpen -" end - -" ============================================================================ - -" Exit quickly when: -" - this plugin was already loaded (or disabled) -" - when 'compatible' is set -if &cp || exists("g:peepopen_loaded") && g:peepopen_loaded - finish -endif -let g:peepopen_loaded = 1 - -let s:save_cpo = &cpo -set cpo&vim - -function s:LaunchPeepOpenViaVim() - let cwd = getcwd() - silent exe "!open -a PeepOpen " . shellescape(cwd) -endfunction - -command! PeepOpen :call LaunchPeepOpenViaVim() - -noremap