Skip to content

Instantly share code, notes, and snippets.

@Zaidos
Created October 5, 2012 05:20
Show Gist options
  • Save Zaidos/3838238 to your computer and use it in GitHub Desktop.
Save Zaidos/3838238 to your computer and use it in GitHub Desktop.
dotfiles
set history=700
filetype plugin on
filetype indent on
set autoread
set nocompatible
" Show line numbers
set number
" Always show the current position
set ruler
" A buffer becomes hidden when it is abandoned
set hid
" Ignore case when searching
set ignorecase
" When searching, be smart about cases
set smartcase
set showcmd
set showmode
" Show matching brackets
set showmatch
syntax enable
set encoding=utf8
set nobackup
set nowb
set noswapfile
set hidden
set list
set listchars=tab:▸\ ,trail:·,eol:¬
set autoindent
set smartindent
" Use spaces instead of tabs
set expandtab
" Be smart when using tabs
set smarttab
" 1 tab = 2 spaces=
set shiftwidth=2
set softtabstop=2
set tabstop=2
set hlsearch
set incsearch
set nowrap
set linebreak
set textwidth=80
set foldmethod=indent
set foldnestmax=3
set nofoldenable
set undolevels=1000
set wildignore=*.o,*~,*.pyc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment