Skip to content

Instantly share code, notes, and snippets.

@pbrewczynski
Created August 5, 2013 08:57
Show Gist options
  • Save pbrewczynski/6154442 to your computer and use it in GitHub Desktop.
Save pbrewczynski/6154442 to your computer and use it in GitHub Desktop.
" Tab setting
set ts=4
set expandtab
set sts=4
set sw=4
" Setting auto indent
set ai
nmap <leader>l :set list!<CR>
" Set the shortcut to test the javascript scripts
nmap <leader>j :w \| ! node %<CR>
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" My Bundles here:
"
" original repos on github
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'
" vim-scripts repos
Bundle 'L9'
Bundle 'FuzzyFinder'
" non github repos
Bundle 'git://git.wincent.com/command-t.git'
" git repos on your local machine (ie. when working on your own plugin)
Bundle 'file:///Users/gmarik/path/to/plugin'
" ...
filetype plugin indent on " required!
"
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..
"JAVASCRIPT HIGHLIGHT
Bundle "pangloss/vim-javascript"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment