Skip to content

Instantly share code, notes, and snippets.

@markjlorenz
Created October 5, 2013 15:34
Show Gist options
  • Save markjlorenz/6842361 to your computer and use it in GitHub Desktop.
Save markjlorenz/6842361 to your computer and use it in GitHub Desktop.
a vimrc
colorscheme vividchalk
set nocompatible
set nobackup
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set indentexpr=
set number
set autoindent
set laststatus=2 " Always show the statusline
syntax enable
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
Bundle 'gmarik/vundle'
Bundle 'dapplebeforedawn/vim-ruby-buffer'
Bundle 'dapplebeforedawn/vim-shell-buffer'
Bundle 'godlygeek/tabular'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-rails'
Bundle 'kien/ctrlp.vim'
Bundle 'bling/vim-airline'
Bundle 'vim-scripts/tComment'
Bundle 'kchmck/vim-coffee-script'
Bundle 'csexton/trailertrash.vim'
filetype plugin indent on
cmap W w
cmap Q q
cmap Gs Gstatus
cmap Gc Gcommit
cmap Gw Gwrite
let mapleader = ","
map <Space> :CtrlP<cr>
map <leader>w :w<cr>
map <S-h> gT
map <S-l> gt
au BufWritePre * :Trim " for trailer trash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment