Last active
June 26, 2018 07:32
-
-
Save eshleebien/7ef88883e215b61f7bf3 to your computer and use it in GitHub Desktop.
vimrc configuration
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 | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim/ | |
call vundle#begin() | |
" Let Vundle manage Vundle | |
Plugin 'gmarik/vundle' | |
Plugin 'tpope/vim-sensible' | |
Plugin 'tpope/vim-surround' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'rking/ag.vim' | |
Plugin 'slim-template/vim-slim' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'kana/vim-textobj-user' | |
Plugin 'vim-scripts/dbext.vim' | |
"Plugin 'bling/vim-airline' | |
Plugin 'vim-airline/vim-airline' | |
Plugin 'vim-airline/vim-airline-themes' | |
"indent guides | |
Plugin 'nathanaelkane/vim-indent-guides' | |
"javascript helper | |
"Plugin 'jelera/vim-javascript-syntax' | |
"Plugin 'pangloss/vim-javascript' | |
"jsx helper | |
"Plugin 'mxw/vim-jsx' | |
Plugin 'nanotech/jellybeans.vim' | |
call vundle#end() | |
filetype plugin indent on | |
color jellybeans | |
"Custom Nerd Tree | |
:command NE NERDTree | |
"Syntastic | |
let g:syntastic_mode_map = { 'mode': 'active' } | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
let g:syntastic_php_checkers = ['php', 'phpcs', 'phpmd'] | |
"Custom Airline Config | |
let g:airline#extensions#tabline#enabled=1 | |
let g:airline_powerline_fonts = 1 | |
let g:airline_theme='bubblegum' | |
function! MyOverride(...) | |
call a:1.add_section('StatusLine' , ' Esh ') | |
endfunction | |
call airline#add_statusline_func('MyOverride') | |
"DBext Config | |
let g:dbext_default_profile_mysql_local = 'type=MYSQL:user=root:passwd=7eight9:dbname=temp:host=127.0.0.1' | |
let g:dbext_default_profile_mysql_dev = 'type=MYSQL:user=root:dbname=ytfreedom_2:host=10.10.2.26' | |
"Custom nmap | |
nnoremap ; : | |
"Begin Custom Set | |
"set mouse=a | |
set tabstop=4 | |
set smarttab | |
set tags=tags | |
set softtabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set clipboard=unnamed | |
set clipboard=unnamedplus | |
set list listchars=trail:- | |
set number | |
set noswapfile | |
set cursorline | |
set modelines=0 | |
"set synmaxcol=128 | |
set encoding=utf-8 | |
set nowrap | |
set nowritebackup | |
set hlsearch | |
set smartcase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment