Created
October 5, 2013 15:34
-
-
Save markjlorenz/6842361 to your computer and use it in GitHub Desktop.
a vimrc
This file contains hidden or 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
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