Skip to content

Instantly share code, notes, and snippets.

@brunoalano
Created January 23, 2014 20:18
Show Gist options
  • Save brunoalano/8586022 to your computer and use it in GitHub Desktop.
Save brunoalano/8586022 to your computer and use it in GitHub Desktop.
" Configuração do vim (.vimrc) criada por
" Bruno Alano Medina
"
" OS: OSX Mavericks
" Version: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 24 2013 18:58:47)
" --------------------------------------
" Tutorial:
" 1. Setup Vundle at your path
" > git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
" 2. Open vim and type:
" > :BundleInstall
" --------------------------------------
" Vundle Setup (required)
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" Let Vundle manage Vundle
Bundle 'gmarik/vundle'
" Bundles Below
" --------------------------------------
" Dash Integration (Mac Application)
Bundle 'rizzatti/funcoo.vim'
Bundle 'rizzatti/dash.vim'
" UI
Bundle 'bling/vim-airline'
Bundle 'flazz/vim-colorschemes'
Bundle 'ujihisa/unite-colorscheme'
" Fuzzy search
Bundle 'Shougo/vimproc.vim'
" Bundle 'Shougo/unite.vim'
Bundle 'thinca/vim-unite-history'
Bundle 'mileszs/ack.vim'
Bundle 'kien/ctrlp.vim'
" File browsing
Bundle 'scrooloose/nerdtree'
Bundle 'majutsushi/tagbar'
" NERDtree Auto Initialize
" Use Ctrl + N
autocmd vimenter * if !argc() | NERDTree | endif
map <C-n> :NERDTreeToggle<CR>
" Syntax
Bundle 'kchmck/vim-coffee-script'
Bundle 'jnwhiteh/vim-golang'
Bundle 'groenewege/vim-less'
Bundle 'othree/html5.vim'
Bundle 'plasticboy/vim-markdown'
Bundle 'puppetlabs/puppet-syntax-vim'
Bundle 'vim-scripts/scons.vim'
" UI Improvements
set wildignore=*.o,*~,*.pyc
set ruler
set backspace=eol,start,indent
set ignorecase
set smartcase
set hlsearch
set incsearch
set lazyredraw
set magic
set showmatch
set cursorline
autocmd WinLeave * setlocal nocursorline
autocmd WinEnter * setlocal cursorline
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colors and Fonts
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
syntax enable " Enable syntax highlighting
set background=dark " Default dark background
colorscheme wombat256mod " molokai xoria256
set t_Co=256 " Enable 256 colours
set encoding=utf8 " Set utf8 as standard encoding and en_US as the standard language
set ffs=unix,dos,mac " Use Unix as the standard file type
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Files, backups and undo
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nobackup " Turn backup off, since most stuff is in SVN, git et.c anyway...
set nowb
set noswapfile
" Vundle Setup (required)
" --------------------------------------
filetype plugin indent on " required!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment