Skip to content

Instantly share code, notes, and snippets.

@mfontani
Created October 7, 2015 12:40
Show Gist options
  • Save mfontani/bdd96cdace3071bbb1f6 to your computer and use it in GitHub Desktop.
Save mfontani/bdd96cdace3071bbb1f6 to your computer and use it in GitHub Desktop.
"" Marco Fontani - [email protected]
set nocompatible
"" fix title string under iTerm
set t_ts=]1;
" ensure the shell is interactive, so values prepended to $PATH are kept, and
" so that plenv and similar actually work
set shell=$SHELL\ -l
if filereadable(expand("~/.vimrc.before"))
source ~/.vimrc.before
endif
" https://github.com/junegunn/vim-plug
call plug#begin('~/.vim/plugged')
" Examples:
" sensible defaults, aka: one step above :set nocompatible
Plug 'tpope/vim-sensible'
" use Ag (the silver searcher) to search stuff with
Plug 'rking/ag.vim'
" Within Git Rebase, C-f to mark 'fixup', C-s 'squash'
Plug 'mfontani/vim-gitrebase-mappings'
" THE Git plugin(s)
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-git'
" Shows a starter page (with most recent used files, etc) if you start vim
Plug 'mhinz/vim-startify'
" Integration with tmux, unsure to keep it or not
Plug 'benmills/vimux'
" Another tmux integration. one day I'll look into this eh?
Plug 'jby/tmux.vim'
" ,t to find and open files based on fuzzy search.
Plug 'vim-scripts/Command-T', { 'do': 'cd ruby/command-t && ruby extconf.rb && make' }
" This is broken for me
" Plug 'vim-scripts/ShowMarks7'
" Syntax checker for most/all languages
Plug 'scrooloose/syntastic'
" I'm not using this as much as I'd like to
Plug 'Shougo/unite.vim'
" Just so I have them available on the Mac…
Plug 'powerline/fonts'
" THE Perl plugin. With patch in my repo to ensure syntax checking is done
" with $WORK's 'trois/lib' directory.
Plug 'vim-perl/vim-perl', { 'do': 'cd tools && git checkout efm_perl.pl && patch -p0 efm_perl.pl ../../../vim-perl-tools-efm_perl.pl.patch && cd ../ && make clean carp dancer highlight-all-pragmas moose test-more try-tiny' }
" Nice color scheme. Accept none other.
Plug 'altercation/vim-colors-solarized'
" Extended (if-then-else) matching for %
Plug 'edsono/vim-matchit'
" A colorscheme I'm trying to understand if I like or not.
" Plug 'chriskempson/base16-vim'
" Plug 'chriskempson/base16-iterm2'
"let g:PT_use_ppi = 1
"let g:PT_max_level = 4
"Plug 'osfameron/perl-tags-vim'
" kinda like gitk, but for Vim
Plug 'gregsexton/gitv'
" do :Tabularize /, to tabularize data splitting on ,
Plug 'godlygeek/tabular'
" gcc to comment, gcp to comment blocks
Plug 'tomtom/tcomment_vim'
" after using "p" to paste, use "Ctrl+n" to instead paste next yanked buffer
Plug 'skwp/YankRing.vim'
" :GundoToggle to show a visual representation of the undo list
Plug 'sjl/gundo.vim'
" enhance netrw, without the need for nerdtree: use vim-vinegar.
" just type "-" to open a file/directory list without bells & whistles
" Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-vinegar'
" make it easy(-ier) to do unixy stuff in Vim:
" :Remove: Delete a buffer and the file on disk simultaneously.
" :Unlink: Like :Remove, but keeps the now empty buffer.
" :Move: Rename a buffer and the file on disk simultaneously.
" :Chmod: Change the permissions of the current file.
" :Mkdir: Create a directory, defaulting to the parent of the current file.
" :Find: Run find and load the results into the quickfix list.
" :Locate: Run locate and load the results into the quickfix list.
" :Wall: Write every open window. Handy for kicking off tools like guard.
" :SudoWrite: Write a privileged file with sudo.
" :SudoEdit: Edit a privileged file with sudo.
" File type detection for sudo -e is based on original file name.
" New files created with a shebang line are automatically made executable.
Plug 'tpope/vim-eunuch'
" support for HAML, SASS, SCSS files
Plug 'tpope/vim-haml'
Plug 'plasticboy/vim-markdown'
Plug 'chrisbra/csv.vim'
" see http://wakatime.com/
Plug 'wakatime/vim-wakatime'
Plug 'mhinz/vim-signify'
" Plug 'powerline/powerline'
" set rtp+=~/.vim/plugged/powerline/powerline/bindings/vim/
Plug 'bling/vim-airline'
" highlight characters for "f" or "F"; requires a hack at end of file: see QUICKSCOPEFIX
Plug 'unblevable/quick-scope'
let g:airline_powerline_fonts = 1
" Plug 'mfontani/vim-mfontani'
Plug '~/GIT/GITHUB/vim-mfontani'
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment