From 45ea5d308847943b20c12c140df8f476bee54b95 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Thu, 1 Sep 2011 12:45:46 -0400 Subject: [PATCH] Adding a bunch of random stuff to vimrc --- vimrc | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index eb2da82..6f1d89e 100644 --- a/vimrc +++ b/vimrc @@ -2,9 +2,16 @@ call pathogen#runtime_append_all_bundles() call pathogen#helptags() -" turn off vi compatability +" turn off vi compatability, although i hear when vimrc exists this is set +" automatically set nocompatible +" allow hidden buffers +set hidden + +" longer history +set history=1000 + " turn off swapfiles set noswapfile @@ -15,6 +22,19 @@ set undofile " line numbers set nu +" wild menu +set wildmenu +set wildmode=longest:full + +" show the command as it is typed +" set sc + +" remap the leader to ,. hate doing this but \ is so far away +let mapleader = "," + +" when a file is changed externally +set autoread + " indentation filetype plugin on filetype indent on @@ -32,7 +52,6 @@ set smarttab set tabstop=4 set shiftwidth=4 -set autoread set mat=2 set ruler set nohls