Skip to content

Instantly share code, notes, and snippets.

@zeroeth
Last active December 30, 2015 22:49
Show Gist options
  • Select an option

  • Save zeroeth/7896776 to your computer and use it in GitHub Desktop.

Select an option

Save zeroeth/7896776 to your computer and use it in GitHub Desktop.
SlimVim
" Indentation Settings
"
" Soft 2 space
" set tabstop=2
" set shiftwidth=2
" set expandtab
" Hard tab
set noexpandtab
set tabstop=4
set shiftwidth=4
" Vundle Section
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
" My bundles here:
Bundle 'majutsushi/tagbar'
Bundle 'scrooloose/nerdtree'
Bundle 'git://repo.or.cz/vcscommand'
Bundle 'tpope/vim-fugitive'
Bundle 'nathanaelkane/vim-indent-guides'
Bundle 'thinca/vim-localrc'
" Generic next-line match
set autoindent
" Smart indentions
filetype plugin indent on
" Visual helpers
let g:indent_guides_color_change_percent=2
autocmd VimEnter * :IndentGuidesEnable
" Indentation/Whitespace Visibility
" set list listchars=tab:»·,trail:·
set list listchars=tab:\ \ ,trail:·
" Matching parenthesis blink
set showmatch
" Line numbers
set number
" Status bar visible always
set laststatus=2
" Search as you type, highlight
set incsearch
set hlsearch
" Whitespace Cleaning
" %s/\s\+$//
" Tab Control (others)
map <D-1> 1gt
map <D-2> 2gt
map <D-3> 3gt
map <D-4> 4gt
map <D-5> 5gt
map <D-6> 6gt
map <D-7> 7gt
map <D-8> 8gt
map <D-9> 9gt
" GUI Minify
set guioptions-=T
set guioptions-=e
set guioptions-=m
set guioptions-=r
set guioptions-=
" Theme
color molokai
set gfn=Menlo\ Regular:h15
" Syntax
" - link c++ to ino syntax folder
" (find old au folder wildcard commands on mac backup)
au BufRead,BufNewFile *.ino set filetype=ino
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment