Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (36 sloc) 1.26 KB
set t_Co=256
color molokai
set nocompatible
set autoindent
set smartindent
set expandtab "use spaces instead of tabs
set softtabstop=2
set shiftwidth=2
set shiftround "always go to actual tabs for example if im on column 3 and I hit >> go to column 4 not 5
set number
set showmatch "show matching bracket
set ruler
set incsearch
set smartcase "search results ignore case unless there are caps
set backspace=indent,eol,start
set hidden "you don't have to save to switch buffers
set iskeyword+=_,$,@,%,# " none of these are word dividers
syntax on
filetype plugin indent on
au FileType python setlocal tabstop=8 expandtab shiftwidth=4 softtabstop=4
set wildmenu " turn on command line completion wild style
" ignore these list file extensions
set wildignore=*.dll,*.o,*.obj,*.bak,*.exe,*.pyc,*.jpg,*.gif,*.png
"set wildmode=list:longest " turn on wild mode huge list
set backupdir=~/.vim/backups,/var/tmp,/tmp
set backup
map <F2> <ESC>:NERDTreeToggle<CR>
set foldmethod=indent "fold based on indent
set foldnestmax=10 "deepest fold is 10 levels
set nofoldenable "dont fold by default
set foldlevel=1 "this is just what i use
" .ino (arduino) files are c
au BufNewFile,BufRead *.ino set filetype=c
" bash-style tab completion
set wildmode=longest,list
set wildmenu