Skip to content

Instantly share code, notes, and snippets.

@fallenhitokiri
Last active December 20, 2015 04:49
Show Gist options
  • Save fallenhitokiri/6073233 to your computer and use it in GitHub Desktop.
Save fallenhitokiri/6073233 to your computer and use it in GitHub Desktop.
emergency vimrc
set nocompatible
set nobackup
set nowritebackup
set noswapfile
set history=100
set incsearch
set tabstop=4
set shiftwidth=4
set expandtab
set number
set numberwidth=4
set splitright
set splitbelow
set guioptions+=LlRrb
set guioptions-=LlRrb
set guifont=Ubuntu\ Mono:h14
set vb
syntax on
colorscheme monokai-refined
filetype plugin indent on
augroup vimrcEx
autocmd!
" Ruby
autocmd BufRead,BufNewFile *.rb set tabstop=2
autocmd BufRead,BufNewFile *.rb set shiftwidth=2
augroup END
"vundle
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'kien/ctrlp.vim'
Bundle 'Raimondi/delimitMate'
Bundle 'jaromero/vim-monokai-refined'
Bundle 'scrooloose/nerdtree'
filetype on
"ctrlp
imap <C-p> <Esc>:CtrlP<Cr>
"NERDTree
map <C-n> :NERDTreeToggle<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment