Permalink
Browse files

Moved the plugin file to the right place

  • Loading branch information...
1 parent 5f23e8b commit 3a7f005c64e9e5f8440c447c7714cf160be3399d Chris Adams committed Mar 26, 2011
Showing with 0 additions and 47 deletions.
  1. +0 −47 peepopen.vim
  2. 0 {autoload → plugin}/peepopen.vim
View
@@ -1,47 +0,0 @@
-" plugin/peepopen.vim
-" Author: Geoffrey Grosenbach <boss@topfunky.com>
-" 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=<nop>
-" map <D-t> <Plug>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 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
-
-
-command! PeepOpen :call <SID>LaunchPeepOpenViaVim()
-
-noremap <unique> <script> <Plug>PeepOpen <SID>Launch
-noremap <SID>Launch :call <SID>LaunchPeepOpenViaVim()<CR>
-
-if !hasmapto('<Plug>PeepOpen')
- map <unique> <silent> <Leader>p <Plug>PeepOpen
-endif
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim:set sw=2 sts=2:
-
File renamed without changes.

0 comments on commit 3a7f005

Please sign in to comment.