Created
December 28, 2015 15:36
-
-
Save amacgregor/64f1f72cc43e2865995d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""" | |
" Allan MacGregor Vimrc configuration | |
""""""""""""""""""""""""""""""""""""" | |
set nocompatible | |
syntax on | |
set nowrap | |
"""" START Vundle Configuration | |
" Disable file type for vundle | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
" Vundle Plugin list | |
Plugin 'tpope/vim-markdown' | |
Plugin 'jtratner/vim-flavored-markdown' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'powerline/powerline' | |
Plugin 'tomasr/molokai' | |
Plugin 'majutsushi/tagbar' | |
Plugin 'jakedouglas/exuberant-ctags' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'kablamo/vim-git-log' | |
Plugin 'gregsexton/gitv' | |
Plugin 'godlygeek/tabular' | |
Plugin 'junegunn/limelight.vim' | |
Plugin 'zenorocha/dracula-theme', {'rtp': 'vim/'} | |
Plugin 'tobyS/vmustache' | |
Plugin 'tobyS/pdv' | |
Plugin 'tomtom/tcomment_vim' | |
Plugin 'reedes/vim-pencil' | |
" Elixir Support | |
Plugin 'elixir-lang/vim-elixir' | |
Plugin 'mmorearty/elixir-ctags' | |
Plugin 'mattreduce/vim-mix' | |
Plugin 'avdgaag/vim-phoenix' | |
Plugin 'BjRo/vim-extest' | |
Plugin 'frost/vim-eh-docs' | |
Plugin 'junegunn/fzf' | |
"Plugin 'joonty/vim-phpqa' | |
"Plugin 'rafi/vim-phpspec' | |
"Plugin 'bling/vim-airline' | |
"Plugin 'SirVer/ultisnips' | |
" OSX stupid backspace fix | |
set backspace=indent,eol,start | |
call vundle#end() " required | |
filetype plugin indent on " required | |
"""" END Vundle Configuration | |
map <C-n> :NERDTreeToggle<CR> | |
map <C-m> :TagbarToggle<CR> | |
" Show linenumbers | |
set number | |
set ruler | |
set tabstop=4 | |
set shiftwidth=4 | |
set smarttab | |
set expandtab | |
" PHP documenter script bound to Control-P | |
autocmd FileType php inoremap <C-p> <ESC>:call pdv#DocumentWithSnip()<CR>i | |
autocmd FileType php nnoremap <C-p> :call pdv#DocumentWithSnip()<CR> | |
let g:pdv_template_dir = $HOME ."/.vim/bundle/pdv/templates_snip" | |
" Theme... | |
set t_Co=256 | |
"set background=dark | |
"colorscheme molokai | |
syntax on | |
color Dracula | |
"let g:airline_theme='luna' | |
")let g:airline_powerline_fonts=1 | |
source /usr/local/lib/python2.7/site-packages/powerline/bindings/vim/plugin/powerline.vim | |
set laststatus=2 | |
let g:phpqa_codesniffer_args = "--standard=PSR2" | |
augroup markdown | |
au! | |
au BufNewFile,BufRead *.md,*.markdown setlocal filetype=ghmarkdown | |
augroup END | |
let g:pencil#wrapModeDefault = 'soft' " default is 'hard' | |
augroup pencil | |
autocmd! | |
autocmd FileType markdown,mkd call pencil#init() | |
autocmd FileType text call pencil#init() | |
augroup END | |
" Elixir Tagbar config | |
let g:tagbar_type_elixir = { | |
\ 'ctagstype' : 'elixir', | |
\ 'kinds' : [ | |
\ 'f:functions', | |
\ 'functions:functions', | |
\ 'c:callbacks', | |
\ 'd:delegates', | |
\ 'e:exceptions', | |
\ 'i:implementations', | |
\ 'a:macros', | |
\ 'o:operators', | |
\ 'm:modules', | |
\ 'p:protocols', | |
\ 'r:records', | |
\ 't:tests' | |
\ ] | |
\ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment