Created
August 1, 2011 19:52
-
-
Save huoxito/1118853 to your computer and use it in GitHub Desktop.
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
" Plugin: pathogen.vim: manage your runtimepath | |
call pathogen#infect() | |
filetype plugin indent on | |
set showcmd " Show (partial) command in status line. | |
set showmatch " Show matching brackets. | |
set ignorecase " Do case insensitive matching | |
"set smartcase " Do smart case matching | |
set incsearch " Incremental search | |
"set autowrite " Automatically save before commands like :next and :make | |
"set hidden " Hide buffers when they are abandoned | |
set mouse=a " Enable mouse usage (all modes) | |
set cmdheight=2 | |
set pastetoggle=<F2> | |
set number | |
set smartindent | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set cpoptions+=$ | |
colorscheme desert | |
" Show line number, cursor position. | |
set ruler | |
" To save, press ctrl-s.:w | |
nmap <c-s> :w<CR> | |
imap <c-s> <Esc>:w<CR>a | |
noremap <A-j> gT | |
noremap <A-k> gt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment