summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2011-03-25 14:07:10 +0100
committerStefan Ritter <xeno@thehappy.de>2011-03-25 14:07:10 +0100
commita7af5da37db7b0e98b5d68b7a0421228da2f309c (patch)
tree5808c49f59af38bb0a51a67ed91a158520052dcd /vim/vimrc
parent9bd1062ac410f3ce2007e995b8ea09a8a381ae49 (diff)
Add bracket stuff to vimrc
Diffstat (limited to '')
-rw-r--r--vim/vimrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index f87dc73..990ebca 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,7 +2,6 @@ syntax on
filetype plugin indent on
set t_Co=256
colorscheme vitamins
-
set ls=0
set number
set noerrorbells
@@ -21,3 +20,9 @@ set nohlsearch
autocmd bufnewfile *.py so ~/etc/vim/header_python
autocmd bufnewfile *.html so ~/etc/vim/header_html
autocmd bufnewfile,bufread *.tpl set filetype=html
+
+inoremap ( ()<Esc>i
+inoremap [ []<Esc>i
+inoremap { {}<Esc>i
+inoremap < <><Esc>i
+inoremap " ""<Esc>i