Last active
December 14, 2015 11:38
-
-
Save GuoJing/5080502 to your computer and use it in GitHub Desktop.
my 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
" First install Vundle | |
" git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' | |
" vim-scripts repos | |
Bundle 'ShowTrailingWhitespace' | |
Bundle 'EasyMotion' | |
Bundle 'ctrlp.vim' | |
Bundle 'The-NERD-tree' | |
Bundle 'The-NERD-Commenter' | |
Bundle 'UltiSnips' | |
Bundle 'Tabular' | |
Bundle 'pyflakes' | |
Bundle 'Valloric/YouCompleteMe' | |
Bundle 'altercation/vim-colors-solarized' | |
filetype on | |
filetype plugin on | |
filetype off | |
filetype plugin indent on | |
syntax enable | |
set nocompatible | |
set background=dark | |
colorscheme solarized | |
let g:solarized_termtrans=1 | |
let g:solarized_termcolors=256 | |
let g:solarized_contrast="high" | |
let g:solarized_visibility="high" | |
set modelines=0 | |
set background=dark | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab | |
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5 | |
set scrolloff=3 | |
set fenc=utf-8 | |
set autoindent | |
set hidden | |
set cursorline | |
set cursorcolumn | |
set ttyfast | |
set ruler | |
set backspace=indent,eol,start | |
set number | |
set undofile | |
set wrap | |
set guifont=Inconsolata:h12 | |
set isk+=- | |
set ignorecase | |
set smartcase | |
set incsearch | |
set showmatch | |
set hlsearch | |
set colorcolumn=85 | |
set t_Co=256 | |
set numberwidth=4 | |
set matchpairs=(:),{:},[:],<:> | |
inoremap <c-j> <down> | |
inoremap <c-k> <up> | |
inoremap <c-l> <right> | |
inoremap <c-h> <left> | |
let mapleader="," | |
imap jj <esc> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment