Skip to content

Instantly share code, notes, and snippets.

@theterminalguy
Created February 10, 2018 19:05
Show Gist options
  • Save theterminalguy/5561bb47e0a0df742d8950bf47f57367 to your computer and use it in GitHub Desktop.
Save theterminalguy/5561bb47e0a0df742d8950bf47f57367 to your computer and use it in GitHub Desktop.
" Leader
let mapleader = " "
set nocompatible " be iMproved, required
set backspace=2
set noswapfile " no swapfile
set ruler " show the cursor position all the time
set nowritebackup
set autowrite
set number " show line number
set hlsearch " highlight search
set mouse=a " enable mouse in all modes, hence a fro all
" Softabs, 2 spaces
set tabstop=2
set shiftwidth=2
set shiftround
set expandtab
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" tpope's vim
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-rails'
Plugin 'tpope/vim-repeat'
Plugin 'christoomey/vim-tmux-runner'
Plugin 'thoughtbot/vim-rspec'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'slim-template/vim-slim.git'
call vundle#end() " required
syntax enable
filetype plugin indent on
let g:ackprg = 'ag --nogroup --nocolor --column'
let g:ctrlp_use_caching = 0 " disable caching in ctrlp
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store|git'
" configure vim tumx runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment