Last active
August 29, 2015 13:56
-
-
Save adelzhang/8912035 to your computer and use it in GitHub Desktop.
dot vim
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
"be iMproved | |
set nocompatible | |
filetype off "required by vundle | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'scrooloose/nerdcommenter' | |
"Plugin 'MarcWeber/vim-addon-mw-utils' | |
"Plugin 'tomtom/tlib_vim' | |
"Plugin 'garbas/vim-snipmate' | |
"Plugin 'adelzhang/vim-snippets' | |
"Bundle 'bling/vim-airline' | |
"Bundle "mattn/calendar-vim" | |
call vundle#end() | |
filetype plugin indent on "required | |
"1 tab = 4 spaces | |
set tabstop=8 | |
set shiftwidth=4 | |
set softtabstop=4 | |
"use spaces instead of tabs | |
set expandtab | |
"be smart when using tabs | |
set smarttab | |
"set highlight search | |
set hls | |
"show line number | |
set nu | |
"miscellaneous | |
set noswapfile | |
set nobackup | |
set nowritebackup | |
let mapleader = "," | |
"------------------------------------------------ | |
"vim-airline | |
"------------------------------------------------ | |
"set t_Co=256 | |
"set laststatus=2 | |
"let g:airline_powerline_fonts=1 | |
"----------------------------------------------- | |
"calendar-vim | |
"----------------------------------------------- | |
"let g:calendar_mondy = 1 | |
"let g:calendar_diary = "~/.diary" | |
"let g:calendar_focus_today = 1 | |
"let g:calendar_keys = { 'goto_next_month':'<C-j>', 'goto_prev_month':'<C-k>', 'goto_prev_year' :'<C-h>', 'goto_next_year' :'<C-l>'} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment