Skip to content

Instantly share code, notes, and snippets.

@aduartem
Created August 31, 2016 07:31
Show Gist options
  • Save aduartem/5035e83e7855e0d46f41b3ceb6adfd36 to your computer and use it in GitHub Desktop.
Save aduartem/5035e83e7855e0d46f41b3ceb6adfd36 to your computer and use it in GitHub Desktop.
Config .vimrc + plugins
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'Vundle.vim'
Plugin '[email protected]:tomasr/molokai.git'
Plugin '[email protected]:scrooloose/nerdtree.git'
Plugin 'mileszs/ack.vim'
call vundle#end() " required
filetype plugin indent on " required
let g:molokai_original = 1
colorscheme molokai
autocmd vimenter * NERDTree
set runtimepath^=~/.vim/bundle/ctrlp.vim
"Custom config
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
set nocompatible
set autoindent
set smartindent
set expandtab
set tabstop=2
set shiftwidth=2
set textwidth=120
set t_Co=256
set showmatch
syntax on
set number
set comments=sl:/*,mb:\ *,elx:\ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment