Skip to content

Instantly share code, notes, and snippets.

@adeishs
Last active December 1, 2018 11:00
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 adeishs/f3a5e8706c54aff3744b5e451a90af09 to your computer and use it in GitHub Desktop.
Save adeishs/f3a5e8706c54aff3744b5e451a90af09 to your computer and use it in GitHub Desktop.
My .vimrc
execute pathogen#infect()
colorscheme borland
set nu
set title
set guifont=Source\ Code\ Pro:h13
set termencoding=utf-8
set encoding=utf-8
set fileencoding=utf-8
set shiftwidth=4 softtabstop=4 smarttab expandtab
set colorcolumn=80
set textwidth=80
set columns=171
set lines=70
set smartindent
let do_syntax_sel_menu=1
syntax on
filetype plugin indent on
autocmd FileType perl setlocal ts=4 sts=4 sw=4
autocmd FileType swift setlocal ts=2 sts=2 sw=2
autocmd FileType sql setlocal ts=2 sts=2 sw=2
autocmd FileType html setlocal ts=2 sts=2 sw=2
autocmd FileType javascript setlocal ts=2 sts=2 sw=2
autocmd FileType ruby setlocal ts=2 sts=2 sw=2
autocmd FileType yaml setlocal ts=2 sts=2 sw=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment