Skip to content

Instantly share code, notes, and snippets.

@thomasweng15
Created January 14, 2015 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasweng15/3e51bdb6c91f12240ec3 to your computer and use it in GitHub Desktop.
Save thomasweng15/3e51bdb6c91f12240ec3 to your computer and use it in GitHub Desktop.
.vimrc
"" General
set number " Show line numbers
set showmatch " Highlight matching brace
set noerrorbells " Use visual bell (no beeping)
set novisualbell
set hlsearch " Highlight all search results
set gdefault " Always sub all matches in a line
set incsearch " Searches for strings incrementally
set autoindent " Auto-indent new lines
set tabstop=2 " Number of spaces per Tab
"set softtabstop=4
"set shiftwidth=2
"set cindent
"" Advanced
set colorcolumn=80 " color colum 80
set ruler " Show row and column ruler information
set undolevels=1000 " Number of undo levels
set backspace=indent,eol,start " Backspace behavior
"inoremap {<cr> {<cr>}<c-o>O
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment