Skip to content

Instantly share code, notes, and snippets.

@marcosgabarda
Last active August 29, 2015 14:01
Show Gist options
  • Save marcosgabarda/164c0822b2698a15b800 to your computer and use it in GitHub Desktop.
Save marcosgabarda/164c0822b2698a15b800 to your computer and use it in GitHub Desktop.
My current .vimrc file
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" alternatively, pass a path where Vundle should install bundles
"let path = '~/some/path/here'
"call vundle#rc(path)
" let Vundle manage Vundle, required
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-commentary'
Bundle 'xolox/vim-misc'
Bundle 'xolox/vim-notes'
Bundle 'mattn/gist-vim'
Bundle 'kien/ctrlp.vim'
Bundle 'scrooloose/nerdtree'
Bundle 'tpope/vim-fugitive'
Bundle 'scrooloose/syntastic'
" The following are examples of different formats supported.
" Keep bundle commands between here and filetype plugin indent on.
" scripts on GitHub repos
" Bundle 'tpope/vim-fugitive'
" Bundle 'Lokaltog/vim-easymotion'
" Bundle 'tpope/vim-rails.git'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
" Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
" scripts from http://vim-scripts.org/vim/scripts.html
" Bundle 'L9'
" Bundle 'FuzzyFinder'
" scripts not on GitHub
" Bundle 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
" Bundle 'file:///home/gmarik/path/to/plugin'
" ...
Bundle 'Lokaltog/vim-powerline'
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" 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 commands are not allowed.
" Put your stuff after this line
set laststatus=2
set encoding=utf-8
set t_Co=256
set number
let g:Powerline_symbols = "fancy"
" Tabs
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set nolist
" Status line
set statusline=%{fugitive#statusline()}
" Notes
:let g:notes_directories = ['~/Dropbox/Notes']
" Color theme
color jellybeans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment