Last active
January 8, 2016 15:06
-
-
Save mercuryseries/72d3d98cf5e8a69e5e98 to your computer and use it in GitHub Desktop.
My .vimrc config gile
This file contains 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() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'bling/vim-airline' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'ctrlpvim/ctrlp.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'kristijanhusak/vim-hybrid-material' | |
Plugin 'terryma/vim-multiple-cursors' | |
Plugin 'arnaud-lb/vim-php-namespace' | |
Plugin 'szw/vim-tags' | |
Plugin 'craigemery/vim-autotag' | |
Plugin 'powerline/powerline' | |
Plugin 'tacahiroy/ctrlp-funky' | |
Plugin 'jwalton512/vim-blade' | |
call vundle#end() | |
" Nice to have | |
filetype plugin indent on | |
" Show statusbar | |
let g:Powerline_symbols = 'fancy' | |
set encoding=utf-8 | |
set laststatus=2 | |
" Set the color scheme | |
syntax enable | |
set t_Co=256 | |
set background=dark | |
colorscheme hybrid_reverse | |
set tabstop=4 " a tab is four spaces | |
set shiftwidth=4 " number of spaces to use for autoindenting | |
set autoindent " always set autoindenting on | |
set number " always show line numbers | |
set ignorecase " ignore case when searching | |
nmap <C-b> :NERDTreeToggle<cr> | |
nmap <C-p> :CtrlPMixed<cr> | |
nnoremap <Leader>fu :CtrlPFunky<Cr> | |
" narrow the list down with a word under cursor | |
nnoremap <Leader>fU :execute 'CtrlPFunky ' . expand('<cword>')<Cr> | |
inoremap <Leader>u <C-O>:call PhpInsertUse()<CR> | |
noremap <Leader>u :call PhpInsertUse()<CR> | |
inoremap <Leader>e <C-O>:call PhpExpandClass()<CR> | |
noremap <Leader>e :call PhpExpandClass()<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment