Last active
October 21, 2015 17:07
-
-
Save Leotomas/51ee12581cb119626b76 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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'flazz/vim-colorschemes' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'bling/vim-airline' | |
Plugin 'lilydjwg/colorizer' | |
Plugin 'shawncplus/phpcomplete.vim' | |
Plugin 'StanAngeloff/php.vim' | |
Plugin 'tpope/vim-markdown' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'Xuyuanp/nerdtree-git-plugin' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'tpope/vim-surround' | |
Plugin 'Townk/vim-autoclose' | |
Plugin 'majutsushi/tagbar' | |
Plugin 'easymotion/vim-easymotion' | |
Plugin 'terryma/vim-multiple-cursors' | |
Plugin 'joonty/vim-phpqa' | |
Plugin 'sumpygump/php-documentor-vim' | |
Plugin 'mklabs/grunt.vim' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
filetype on | |
syntax on | |
set number | |
set guioptions-=m "remove menu bar | |
set guioptions-=T "remove toolbar | |
set guioptions-=r "remove right-hand scroll bar | |
set guioptions-=L "remove left-hand scroll bar | |
set guifont=Consolas:h10 | |
set wildmode=longest,list,full | |
set wildmenu | |
colo darkblue | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
let g:NERDTreeIndicatorMapCustom = { | |
\ "Modified" : "*", | |
\ "Staged" : "+", | |
\ "Untracked" : "u", | |
\ "Renamed" : "r", | |
\ "Unmerged" : "=", | |
\ "Deleted" : "x", | |
\ "Dirty" : "d", | |
\ "Clean" : "ok", | |
\ "Unknown" : "?" | |
\ } | |
au BufRead,BufNewFile *.php inoremap <buffer> <C-b> :call PhpDoc()<CR> | |
au BufRead,BufNewFile *.php nnoremap <buffer> <C-b> :call PhpDoc()<CR> | |
au BufRead,BufNewFile *.php vnoremap <buffer> <C-b> :call PhpDocRange()<CR> | |
map <C-s> :NERDTreeToggle<CR> | |
" PHPCS conf | |
let g:phpqa_codesniffer_cmd = "C:\xampp\php\phpcs.bat" | |
let g:phpqa_codesniffer_args = "--standard=Zend" | |
let g:phpqa_codesniffer_autorun = 0 | |
nmap <silent> <A-Up> :wincmd k<CR> | |
nmap <silent> <A-Down> :wincmd j<CR> | |
nmap <silent> <A-Left> :wincmd h<CR> | |
nmap <silent> <A-Right> :wincmd l<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment