From 0ebc2adfdaa41a1171845c8a8aec4717853185a5 Mon Sep 17 00:00:00 2001 From: David Tchepak Date: Fri, 3 Aug 2012 08:06:33 +1000 Subject: [PATCH] Adding 'jj' binding to exit insert mode. Adding syntastic plugin. --- .gitmodules | 3 +++ bundle/syntastic | 1 + vimrc | 3 +++ 3 files changed, 7 insertions(+) create mode 160000 bundle/syntastic diff --git a/.gitmodules b/.gitmodules index 6039498..046b267 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,3 +22,6 @@ [submodule "bundle/vim-pandoc"] path = bundle/vim-pandoc url = http://github.com/vim-pandoc/vim-pandoc.git +[submodule "bundle/syntastic"] + path = bundle/syntastic + url = https://github.com/scrooloose/syntastic.git diff --git a/bundle/syntastic b/bundle/syntastic new file mode 160000 index 0000000..025fa81 --- /dev/null +++ b/bundle/syntastic @@ -0,0 +1 @@ +Subproject commit 025fa81d981c48096d6157f939f007263dc3fab0 diff --git a/vimrc b/vimrc index e1224c9..8b3a0a3 100644 --- a/vimrc +++ b/vimrc @@ -50,6 +50,9 @@ set wildmode=list:longest,full set backspace=indent,eol,start let mapleader = "," +"Use 'jj' to exit insert mode +inoremap jj + "Clear highlights on escape nnoremap :noh