Created
July 10, 2012 17:17
-
-
Save fivetanley/3084836 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set encoding=utf-8 | |
set fillchars+=stl:\ ,stlnc:\ | |
" Vundle packages | |
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/vundle.git/ | |
call vundle#rc() | |
" Solarized Theme | |
Bundle 'altercation/vim-colors-solarized' | |
" Markdown | |
Bundle 'tpope/vim-markdown' | |
" Enhanced JavaScript Syntax | |
Bundle 'pangloss/vim-javascript' | |
" JSON syntax | |
Bundle 'JSON.vim' | |
au BufRead,BufNewFile *.json set filetype=json | |
" Coffee-Script syntax file | |
Bundle 'kchmck/vim-coffee-script' | |
" Vim Powerline | |
Bundle 'Lokaltog/vim-powerline' | |
let g:Powerline_symbols = 'unicode' | |
Bundle 'scrooloose/nerdtree' | |
Bundle 'jistr/vim-nerdtree-tabs' | |
" JavaScript Strict Mode Helper | |
Bundle 'scrooloose/syntastic' | |
" Tomorrow theme. | |
Bundle 'jasonkuhrt/Tomorrow-Theme' | |
" YAML | |
Bundle 'ingydotnet/yaml-vim' | |
" Ruby | |
Bundle 'vim-ruby/vim-ruby' | |
" RSpec | |
Bundle 'mikbe/rspec.vim' | |
" Regular configuration | |
" Cucumber | |
Bundle 'tpope/vim-cucumber' | |
" Automated omnicompletion | |
Bundle 'Shougo/neocomplcache' | |
" Tag support | |
Bundle 'majutsushi/tagbar' | |
nmap <F8> :TagbarToggle<CR> | |
" Theme settings | |
syntax enable | |
set background=dark | |
colorscheme Tomorrow-Night-Eighties | |
" Show line numbering | |
set number | |
" Show current line cursor | |
set cursorline | |
" Automatically indent based on filetype. | |
filetype plugin indent on " required by Vundle! | |
" backup to ~/.tmp | |
set backup | |
set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp | |
set backupskip=/tmp/*,/private/tmp/* | |
set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp | |
set writebackup | |
" NERDTree auto start | |
au VimEnter * NERDTree | wincmd p | |
"disable linux/windows menu shortcuts so we can map alt. | |
"nmap <C-S-Tab> :tabprevious<CR> | |
"imap <C-S-Tab> :tabprevious<CR> | |
"nmap <C-Tab> :tabnext<CR> | |
"imap <C-Tab> :tabnext<CR> | |
"nmap <C-t> :tabnew<CR> | |
"imap <C-t> :tabnew<CR> | |
" Snippets | |
nmap <C-Tab> :tabnext<CR> | |
Bundle 'UltiSnips' | |
"let g:UltiSnipsUsePythonVersion = 2 | |
let g:UltiSnipsExpandTrigger='<tab>' | |
let g:UltiSnipsJumpForwardTrigger='<tab>' | |
let g:UltiSnipsJumpBackwardTrigger='<s-tab>' | |
" Jasmine syntax highlighting snippets | |
Bundle 'claco/jasmine.vim' | |
let g:jasmine_use_templates="" | |
" Surround.vim by tpope | |
Bundle 'tpope/vim-surround' | |
" EasyMotion | |
Bundle 'Lokaltog/vim-easymotion' | |
" leader key | |
let mapleader=',' | |
"tComment | |
Bundle 'tomtom/tcomment_vim' | |
map <leader>c <c-_><c-_> | |
Bundle 'nathanaelkane/vim-indent-guides' | |
Bundle 'Raimondi/delimitMate' | |
autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment