From 164acc08a76eda0f58446ad9685d0603eb930b18 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Fri, 13 Apr 2012 00:05:37 -0500 Subject: [PATCH] Added quit shortcut, conflict matching to vim --- vimrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vimrc b/vimrc index 5ac96fe..07ea32a 100644 --- a/vimrc +++ b/vimrc @@ -30,9 +30,19 @@ set shiftwidth=4 set tabstop=4 set softtabstop=4 +"set notimeout +"set ttimeout +"set ttimeoutlen=10 + +" faster redrawing +set ttyfast + " allow matching of if/end, etc. with % runtime macros/matchit.vim +" highlight conflicts +match ErrorMsg '^\(<\|=\|>\)\{7\}\([^=].\+\)\?$' + " Enable file type detection and do language dependent indenting filetype plugin indent on @@ -157,6 +167,8 @@ endfunction " General mappings/shortcuts for functionality " Additional, plugin-specific mappings are located under " the plugins section +" +nnoremap K :q " fast saving nmap w :w!