Created
July 23, 2014 08:52
-
-
Save vagmi/30bf9ff5845d0449c7d1 to your computer and use it in GitHub Desktop.
My latest lean vimrc config
This file contains 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 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() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
" The following are examples of different formats supported. | |
" Keep Plugin commands between vundle#begin/end. | |
" plugin on GitHub repo | |
Plugin 'tpope/vim-sensible' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'guns/vim-clojure-static' | |
Plugin 'tpope/vim-classpath' | |
Plugin 'tpope/vim-fireplace' | |
Plugin 'flazz/vim-colorschemes' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'bling/vim-airline' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'scrooloose/nerdcommenter' | |
Plugin 'digitaltoad/vim-jade' | |
Plugin 'dhruvasagar/vim-dotoo' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'kchmck/vim-coffee-script' | |
"Plugin 'wookiehangover/jshint.vim' | |
Plugin 'rking/ag.vim' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
set sw=2 | |
set expandtab | |
set smarttab | |
set autoindent | |
set ic | |
if has('gui') | |
set clipboard=unnamed | |
colorscheme bclear | |
set guifont=Liberation\ Mono\ For\ Powerline:h14 | |
let g:airline_powerline_fonts = 1 | |
end | |
if has('gui_running') | |
set guioptions-=T " Remove the toolbar | |
set lines=40 " 40 lines of text instead of 24 | |
if has('gui_macvim') | |
set transparency=5 " Make the window slightly transparent | |
endif | |
else | |
if &term == 'xterm' || &term == 'screen' | |
set t_Co=256 " Enable 256 colors to stop the CSApprox warning and make xterm vim shine | |
endif | |
"set term=builtin_ansi " Make arrow and other keys work | |
endif | |
set directory=$HOME/.vim/swapfiles// | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - list configured plugins | |
" :PluginInstall(!) - install (update) plugins | |
" :PluginSearch(!) foo - search (or refresh cache first) for foo | |
" :PluginClean(!) - confirm (or auto-approve) removal of unused plugins | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment