Skip to content

Commit

Permalink
fixed submodule thing
Browse files Browse the repository at this point in the history
  • Loading branch information
subsonic committed Oct 10, 2012
1 parent 076fc75 commit 5bd07c5
Show file tree
Hide file tree
Showing 13 changed files with 92 additions and 13 deletions.
4 changes: 3 additions & 1 deletion .netrwhist
@@ -1,7 +1,9 @@
let g:netrw_dirhistmax =10 let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =5 let g:netrw_dirhist_cnt =7
let g:netrw_dirhist_1='/Volumes/Fatty/Sites/tpub7' let g:netrw_dirhist_1='/Volumes/Fatty/Sites/tpub7'
let g:netrw_dirhist_2='/Users/rob/sites' let g:netrw_dirhist_2='/Users/rob/sites'
let g:netrw_dirhist_3='/Users/rob/sites/congo' let g:netrw_dirhist_3='/Users/rob/sites/congo'
let g:netrw_dirhist_4='/Users/rob/sites/shubble' let g:netrw_dirhist_4='/Users/rob/sites/shubble'
let g:netrw_dirhist_5='/Users/rob/sites/tpub_heroku' let g:netrw_dirhist_5='/Users/rob/sites/tpub_heroku'
let g:netrw_dirhist_6='/Users/rob'
let g:netrw_dirhist_7='/Volumes/Fatty/Sites/tpub6_heroku'
1 change: 0 additions & 1 deletion bundle/snipmate-nodejs
Submodule snipmate-nodejs deleted from 407d16
2 changes: 1 addition & 1 deletion bundle/vim-commentary
Submodule vim-commentary updated from 50b055 to dc349b
2 changes: 1 addition & 1 deletion bundle/vim-endwise
Submodule vim-endwise updated from 74306a to 33f9ee
2 changes: 1 addition & 1 deletion bundle/vim-fugitive
Submodule vim-fugitive updated from 1b6c0c to f43393
2 changes: 1 addition & 1 deletion bundle/vim-haml
Submodule vim-haml updated from 6284c1 to 9a891e
2 changes: 1 addition & 1 deletion bundle/vim-jade
Submodule vim-jade updated from d63c1e to 67999c
2 changes: 1 addition & 1 deletion bundle/vim-javascript
Submodule vim-javascript updated from a599ac to 395f89
1 change: 0 additions & 1 deletion bundle/vim-markdown
Submodule vim-markdown deleted from 7b747d
33 changes: 33 additions & 0 deletions bundle/vim-peepopen/README.md
@@ -0,0 +1,33 @@
vim-peepopen
=============

A plugin for the Vim text editor. PeepOpen provides fuzzy search of filenames and paths in a programming project.

Installation
------------

Get the PeepOpen.app and open it at least once to approve the Mac OS X security dialog.

Standard:

Copy `peepopen.vim` to your `~/.vim/plugin` directory.

With Tim Pope's [Pathogen](http://github.com/tpope/vim-pathogen):

Copy the entire `vim-peepopen` plugin directory to your `~/.vim/bundle` directory.

Usage
-----

`<Leader>p` opens the current project directory with the PeepOpen application.

Use the [vim-rooter](http://github.com/airblade/vim-rooter) plugin for automatic assignment of the current working directory for projects stored in Git.

(Leader is mapped to '\' by default)

Credits
-------

- Initial Vim Plugin by [Andrew Stewart](http://www.airbladesoftware.com/).
- Some plugin boilerplate from [Rein Henrichs](http://reinh.com/).

44 changes: 44 additions & 0 deletions bundle/vim-peepopen/plugin/peepopen.vim
@@ -0,0 +1,44 @@
" 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 s:save_cpo = &cpo
set cpo&vim

function s:LaunchPeepOpenViaVim()
let cwd = getcwd()
silent exe "!open \"peepopen://" . shellescape(cwd) . "?editor=MacVim\""
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:
2 changes: 1 addition & 1 deletion bundle/vim-rails
Submodule vim-rails updated from 1ef4da to 7d79b4
8 changes: 5 additions & 3 deletions vimrc
Expand Up @@ -8,14 +8,16 @@ set nocompatible
set backspace=indent,eol,start set backspace=indent,eol,start


"Map NERDTree to \p "Map NERDTree to \p
nmap <silent> <Leader>p :NERDTreeToggle<CR> nmap <silent> <Leader>t :NERDTreeToggle<CR>
map <leader>t :FufFile<CR> "map <leader>t :CommandT<CR>
vmap <S-Tab> << gv
vmap <Tab> >> gv
call pathogen#infect() call pathogen#infect()
call pathogen#helptags() call pathogen#helptags()
set guifont=Monaco:h16.00 set guifont=Monaco:h16.00
set background=dark set background=dark
colorscheme solarized colorscheme twilight


"store lots of :cmdline history "store lots of :cmdline history
set history=1000 set history=1000
Expand Down

0 comments on commit 5bd07c5

Please sign in to comment.