Last active
August 29, 2015 14:08
-
-
Save vincentjiang/c774afe58d3d81e67d16 to your computer and use it in GitHub Desktop.
vimrc
This file contains hidden or 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 encoding=utf8 | |
map <C-h> <C-w>h | |
map <C-j> <C-w>j | |
map <C-k> <C-w>k | |
map <C-l> <C-w>l | |
set tabstop=2 | |
set softtabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set nu | |
set incsearch | |
set hlsearch | |
set ignorecase | |
let mapleader= "," | |
syntax enable | |
set background=dark | |
colorscheme desert | |
" ######### Vundle begin ######## | |
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'L9' | |
Plugin 'tpope/vim-rails' | |
Plugin 'Lokaltog/vim-easymotion' | |
Plugin 'vim-scripts/tComment' | |
Plugin 'nathanaelkane/vim-indent-guides' | |
let g:indent_guides_guide_size = 1 | |
map <silent><F7> <leader>ig | |
Plugin 'scrooloose/nerdtree' | |
map <silent><F8> :NERDTree<CR> | |
let NERDTreeShowHidden=1 | |
let NERDTreeIgnore=['.DS_Store'] | |
Plugin 'kchmck/vim-coffee-script' | |
Plugin 'kien/ctrlp.vim' | |
map <c-o> :CtrlPBuffer<CR> | |
" -------------------------------------------------- | |
" snippets for various programming languages | |
Plugin 'MarcWeber/vim-addon-mw-utils' | |
Plugin 'tomtom/tlib_vim' | |
Plugin 'garbas/vim-snipmate' | |
" Optional: | |
Plugin 'honza/vim-snippets' | |
" -------------------------------------------------- | |
Plugin 'Raimondi/delimitMate' | |
Plugin 'ervandew/supertab' | |
Plugin 'slim-template/vim-slim' | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" ######### Vundle end ######## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment