From 0a66e16a83bc8d8acc9a65ee5b460a36ec1d10d5 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 20 Jul 2013 00:08:00 -0400 Subject: [PATCH] No more swap --- .vimrc | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/.vimrc b/.vimrc index a4132ab..5e3516f 100644 --- a/.vimrc +++ b/.vimrc @@ -15,30 +15,31 @@ Bundle 'tpope/vim-surround' Bundle 'vim-scripts/ruby-matchit' " Options -set nocompatible " Disable vi compatibility -set fileformats=unix,dos " File format prefer unix endings -set endofline " Add newlien at end of file -set shellslash " Forward slashes -set nobackup " No backup files +set nocompatible " Disable vi compatibility +set fileformats=unix,dos " File format prefer unix endings +set endofline " Add newlien at end of file +set shellslash " Forward slashes +set nobackup " No backup files set formatoptions=crq set textwidth=80 -set laststatus=2 " Always show status line -set showmode " Show current mode -set history=100 " History length -set cursorline " Highlight current line -set nowrap " Disable wrapping by default -set backspace=2 " Backspace over indent, eol, start of insert -set hlsearch " Search highlights -set wrapscan " Wraped search -set incsearch " Search as yuo type -set ignorecase " Ignore case with search -set smartcase " Search will not ignore uppercase -set showcmd " Show command as you type -set ruler " Show cursor position +set laststatus=2 " Always show status line +set showmode " Show current mode +set history=100 " History length +set cursorline " Highlight current line +set nowrap " Disable wrapping by default +set backspace=2 " Backspace over indent, eol, start of insert +set hlsearch " Search highlights +set wrapscan " Wraped search +set incsearch " Search as yuo type +set ignorecase " Ignore case with search +set smartcase " Search will not ignore uppercase +set showcmd " Show command as you type +set ruler " Show cursor position set autoindent -set colorcolumn=80 " Ruler at line 80 +set colorcolumn=80 " Ruler at line 80 set nomodeline -set relativenumber " Relative line numbers +set relativenumber " Relative line numbers +set noswapfile " Hope for the best " Tabs are 2 spaces set tabstop=2 set softtabstop=2