Last active
January 25, 2016 11:40
-
-
Save alexander-lazarov/09035ca2c532ae082878 to your computer and use it in GitHub Desktop.
vimrc
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
if has('gui_running') | |
colorscheme desert | |
endif | |
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 'VundleVim/Vundle.vim' | |
Plugin 'ctrlpvim/ctrlp.vim' | |
let g:ctrlp_map = '<c-p>' | |
let g:ctrlp_cmd = 'CtrlP' | |
Plugin 'editorconfig/editorconfig-vim' | |
Plugin 'airblade/vim-gitgutter' | |
if has('gui_running') | |
Plugin 'Valloric/YouCompleteMe' | |
endif | |
Plugin 'scrooloose/nerdtree' | |
map <D-\> :NERDTreeToggle<CR> | |
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | |
Plugin 'itchyny/lightline.vim' | |
Plugin 'Raimondi/delimitMate' | |
Plugin 'wakatime/vim-wakatime' | |
Plugin 'nathanaelkane/vim-indent-guides' | |
Plugin 'joonty/vim-phpqa.git' | |
Plugin 'nvie/vim-flake8' | |
autocmd BufWritePost *.py call Flake8() | |
call vundle#end() " required | |
filetype plugin indent on " required | |
syntax on | |
set linespace=1 | |
set colorcolumn=81,121 | |
set cursorline | |
set number | |
highlight LineNr guibg=black | |
set list lcs=trail:·,tab:»· |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment