Created
October 9, 2017 00:09
-
-
Save joebutler2/efbdd4ea6c62e050ba2e9fc74e5234ab to your computer and use it in GitHub Desktop.
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
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 'VundleVim/Vundle.vim' | |
Plugin 'thoughtbot/vim-rspec' | |
Plugin 'ervandew/supertab' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'ctrlpvim/ctrlp.vim' | |
"Plugin 'xolox/vim-easytags' | |
Plugin 'xolox/vim-misc' | |
Plugin 'craigemery/vim-autotag' | |
Plugin 'zirrostig/vim-jack-syntax' | |
Plugin 'devjoe/vim-codequery' | |
Plugin 'ashfinal/vim-colors-paper' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
imap jj <ESC> | |
set tabstop=2 shiftwidth=2 expandtab | |
set number | |
let mapleader="," | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
nnoremap <Leader>v !../../../tools/Assembler.sh Mult.asm | |
nmap ; : | |
" thoughbot/vim-rspec - make it easy to run specs | |
map <Leader>t :call RunCurrentSpecFile()<CR> | |
map <Leader>s :call RunNearestSpec()<CR> | |
map <Leader>l :call RunLastSpec()<CR> | |
map <Leader>a :call RunAllSpecs()<CR> | |
au FileType c setl sw=4 sts=4 et | |
autocmd FileType make setlocal noexpandtab | |
set noswapfile | |
set t_Co=256 " This is may or may not needed. | |
set background=dark | |
colorscheme paper | |
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn|vendor)$' | |
if exists("g:ctrlp_user_command") | |
unlet g:ctrlp_user_command | |
endif | |
set wildignore+=*\\vendor\\** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment