From 2b37f5d5e274ae285dc753f04c18a0de92499692 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 4 Feb 2015 07:40:16 -0800 Subject: [PATCH 1/3] [zsh] Add ruby gem path --- env | 1 + 1 file changed, 1 insertion(+) diff --git a/env b/env index 6b89de0..01f61e8 100644 --- a/env +++ b/env @@ -36,6 +36,7 @@ path=("/usr/local/bin" "/usr/bin" "/bin" "/usr/local/sbin" "/usr/sbin" "/sbin") prepend-to-path "/usr/X11/bin" prepend-to-path "/opt/local/bin" prepend-to-path "$HOME/.local/bin" +prepend-to-path "$HOME/.gem/ruby/2.2.0/bin" prepend-to-path "$HOME/bin" export path From a29453733da1cc94abeef6c346aca5532240e4f5 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 4 Feb 2015 08:44:15 -0800 Subject: [PATCH 2/3] [vim] move to Vundle --- vimrc | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/vimrc b/vimrc index fd56409..2b9c5e4 100644 --- a/vimrc +++ b/vimrc @@ -4,21 +4,45 @@ " Set the location of my vim directory. let $VIM = $HOME."/.vim" -" Load Pathogen to get all my plugins. -try - call pathogen#infect() -catch - call pathogen#runtime_append_all_bundles() -endtry -call pathogen#helptags() +" Set this first for Vundle +set nocompatible " use enhanced vim features +filetype off " Needs to be off for Vundle to work (?) +" +" VUNDLE PLUGINS +" + +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() + +Plugin 'gmarik/Vundle.vim' + +" Editing helpers +Plugin 'tpope/vim-repeat' +Plugin 'tpope/vim-speeddating' +Plugin 'tpope/vim-surround' +Plugin 'tpope/vim-unimpaired' + +" Documentation and completion +Plugin 'rizzatti/funcoo.vim' " Required for dash +Plugin 'rizzatti/dash.vim' +"Plugin 'valloric/YouCompleteMe' + +Plugin 'sjl/gundo.vim' " Undo helper +Plugin 'scrooloose/nerdtree' + +Plugin 'erynofwales/vim-fancyfolds' + +" Colors~ +Plugin 'altercation/vim-colors-solarized' +Plugin 'tomasr/molokai' + +call vundle#end() " " CONFIG OPTIONS " -set nocompatible " use enhanced vim features - set autoread " reread files changed outside of vim set noautowrite " don't write files before commands like :next and :make From e9233cada5defb40bd34e6881ca222b44cc11c81 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 4 Feb 2015 08:45:54 -0800 Subject: [PATCH 3/3] [setup] Only need to clone Vundle now, the rest is managed by Vundle! --- setup.sh | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/setup.sh b/setup.sh index 074fa7f..11c27d4 100755 --- a/setup.sh +++ b/setup.sh @@ -12,20 +12,22 @@ typeset -A vimbundles # blackboard "https://github.com/nelstrom/vim-blackboard.git" \ # fugitive "https://github.com/tpope/vim-fugitive.git" \ # command-t "https://github.com/wincent/Command-T.git" \ +# +# dash "https://github.com/rizzatti/dash.vim.git" +# funcoo "https://github.com/rizzatti/funcoo.vim.git" \ +# gundo "https://github.com/sjl/gundo.vim.git" \ +# mw-utils "https://github.com/MarcWeber/vim-addon-mw-utils.git" \ +# repeat "https://github.com/tpope/vim-repeat" \ +# snipmate "https://github.com/garbas/vim-snipmate.git" \ +# snipmate-snippets "https://github.com/honza/vim-snippets.git" \ +# snipmate-zope "https://github.com/zedr/zope-snipmate-bundle.git" \ +# solarized "https://github.com/altercation/vim-colors-solarized.git" \ +# speeddating "https://github.com/tpope/vim-speeddating.git" \ +# surround "https://github.com/tpope/vim-surround.git" \ +# tlib "https://github.com/tomtom/tlib_vim.git" \ +# unimpaired "https://github.com/tpope/vim-unimpaired.git" \ vimbundles=( \ - dash "https://github.com/rizzatti/dash.vim.git" - funcoo "https://github.com/rizzatti/funcoo.vim.git" \ - gundo "https://github.com/sjl/gundo.vim.git" \ - mw-utils "https://github.com/MarcWeber/vim-addon-mw-utils.git" \ - repeat "https://github.com/tpope/vim-repeat" \ - snipmate "https://github.com/garbas/vim-snipmate.git" \ - snipmate-snippets "https://github.com/honza/vim-snippets.git" \ - snipmate-zope "https://github.com/zedr/zope-snipmate-bundle.git" \ - solarized "https://github.com/altercation/vim-colors-solarized.git" \ - speeddating "https://github.com/tpope/vim-speeddating.git" \ - surround "https://github.com/tpope/vim-surround.git" \ - tlib "https://github.com/tomtom/tlib_vim.git" \ - unimpaired "https://github.com/tpope/vim-unimpaired.git" \ + Vundle.vim "https://github.com/gmarik/Vundle.vim.git" \ ) #if [[ ! -d ~/.oh-my-zsh ]]; then