Added quit shortcut, conflict matching to vim

This commit is contained in:
Nick Nisi
2012-04-13 00:05:37 -05:00
parent 231336dc4f
commit 164acc08a7

12
vimrc
View File

@@ -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<cr>
" fast saving
nmap <leader>w :w!<cr>