Skip to content

Instantly share code, notes, and snippets.

@eldilibra
Created December 4, 2013 21:33
Show Gist options
  • Save eldilibra/7795985 to your computer and use it in GitHub Desktop.
Save eldilibra/7795985 to your computer and use it in GitHub Desktop.
"
" vimrc like a boss
" <cam@onswipe.com>
" modified by
" <writeme@ldlibra.com>
"
" all mouse functionality
" set mouse=a
" clipboard setup
set clipboard=unnamedplus
vmap <C-c> "+y
" spaces > tabs
set tabstop=2
set shiftwidth=2
set expandtab
" F5 for nerdtree
map <F5> :NERDTreeToggle<CR>
" syntax highlighting
syntax on
" colors
hi User1 guifg=#eea040 guibg=#222222
hi User2 guifg=#dd3333 guibg=#222222
hi User3 guifg=#ff66ff guibg=#222222
hi User4 guifg=#a0ee40 guibg=#222222
hi User5 guifg=#eeee40 guibg=#222222
" status bar
set wildmenu
set laststatus=2
" line numbers
set number
" show trailing whitespace
set list
set listchars=tab:>.,trail:.,extends:#,nbsp:.
" set UTF-8 encoding
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
" discover plugins
set runtimepath+=$HOME/.vim/gist-vim
set runtimepath+=$HOME/.vim/webapi-vim
execute pathogen#infect()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment