Last active
March 30, 2016 12:20
-
-
Save miporto/e09124d8113601727cb0 to your computer and use it in GitHub Desktop.
This is my .vimrc file.
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() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
" Airline | |
Plugin 'bling/vim-airline' | |
" Airline themes | |
Plugin 'vim-airline/vim-airline-themes' | |
" C vim | |
Plugin 'c.vim' | |
" Color-shop | |
Plugin 'flazz/vim-colorschemes' | |
" CtrlP | |
Plugin 'ctrlpvim/ctrlp.vim' | |
" Nerd commenter | |
Plugin 'scrooloose/nerdcommenter' | |
" Nerd tree | |
Plugin 'scrooloose/nerdtree' | |
" Gruvbox colorshceme | |
Plugin 'morhetz/gruvbox' | |
" YouCompleteMe | |
Plugin 'Valloric/YouCompleteMe' | |
" YouCompleteMe Generator | |
Plugin 'rdnetto/ycm-generator' | |
" Surround | |
Plugin 'tpope/vim-surround' | |
" Syntastic | |
Plugin 'scrooloose/syntastic' | |
" Tagbar | |
Plugin 'majutsushi/tagbar' | |
" Fugitive | |
Plugin 'tpope/vim-fugitive' | |
" Keep Plugin commands between vundle#begin/end. | |
" 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 | |
" General Config | |
" This enables vim to autoreload whenever a change it's written in this file | |
" (Plugins don't included) | |
augroup reload_vimrc " { | |
autocmd! | |
autocmd BufWritePost $MYVIMRC source $MYVIMRC | |
augroup END " } | |
set shiftwidth=4 | |
set tabstop=4 | |
set expandtab | |
set number | |
" set ruler | |
set colorcolumn=80 | |
"set textwidth=80 | |
set encoding=utf-8 | |
" Visual Cues | |
"set showmatch " show matching brackets | |
"set mat=5 " how many tenths of a second to blink matching brackets for | |
set incsearch " search as you type | |
set hls noignorecase " Highlight search | |
set list listchars=tab:>·,extends:> " display tabs | |
" Colorscheme | |
set t_Co=256 | |
" Comment the line below to see the comments highlighted | |
let g:gruvbox_italic=0 | |
set background=dark | |
colorscheme gruvbox | |
set clipboard=unnamed | |
" Airline | |
set laststatus=2 | |
let g:airline_powerline_fonts = 1 | |
" Tags | |
nmap <F8> :TagbarToggle<CR> | |
" NERD Tree | |
nmap <F2> :NERDTree<CR> | |
nmap <F3> :NERDTreeClose<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment