Skip to content

Instantly share code, notes, and snippets.

@cuadue
Created February 29, 2012 17:57
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 cuadue/1942941 to your computer and use it in GitHub Desktop.
Save cuadue/1942941 to your computer and use it in GitHub Desktop.
My .vimrc
syn on
set scrolloff=4
set ruler
set smarttab
set softtabstop=4
set autoindent
set expandtab
set tabstop=4
set shiftwidth=4
set undodir=~/.vim_runtime/undodir
set undofile
set ignorecase
set guioptions-=m
set guioptions-=T
" Only Windows has an ugly enough font to warrant changing the default
" Hopefully other platforms don't have Consolas!
set guifont=Consolas:h10:cANSI
colorscheme torte
" always show the name of the file!
set modeline
set laststatus=2
autocmd FileType ruby setlocal shiftwidth=2 tabstop=2
autocmd FileType html setlocal syn=htmljinja
set nowrap
set sidescroll=5
set listchars+=precedes:<,extends:>
" I like to count rows in visual-line mode
set showcmd
set backspace=indent,eol,start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment