Skip to content

Instantly share code, notes, and snippets.

@msgodf
Created August 9, 2014 07:31
Show Gist options
  • Select an option

  • Save msgodf/7cd31fdbdd091c074440 to your computer and use it in GitHub Desktop.

Select an option

Save msgodf/7cd31fdbdd091c074440 to your computer and use it in GitHub Desktop.
My .vimrc
set nocompatible
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
Plugin 'wincent/command-t'
Plugin 'guns/vim-clojure-static'
Plugin 'tpope/vim-fireplace'
" Use a fork that allows blacklisting of colors (allows it to work with dark
" themes)
Plugin 'nicwest/rainbow_parentheses.vim'
Plugin 'vim-scripts/paredit.vim'
Bundle 'chriskempson/base16-vim'
call vundle#end()
set rtp+=$GOROOT/misc/vim
set rtp+=/opt/powerline/powerline/bindings/vim
execute pathogen#infect()
syntax on
filetype plugin indent on
set number
set expandtab
set softtabstop=4
set tabstop=4
set wrap
set shiftwidth=4
syntax enable
let base16colorspace=256
set background=dark
colorscheme base16-default
set undodir=$HOME/.vim/undo
set undolevels=1000
set undoreload=10000
" Disable arrow keys
imap <up> <nop>
imap <down> <nop>
imap <left> <nop>
imap <right> <nop>
map <up> <nop>
map <down> <nop>
map <left> <nop>
map <right> <nop>
au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces
let mapleader="\\"
" Always show status line
set laststatus=2
let g:rbpt_disabled_colors = ['black', 'brown']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment