From 927dfce97d1848167c461a1b48f5fa7fa4197e03 Mon Sep 17 00:00:00 2001 From: Hoang Xuan Phu Date: Wed, 11 Feb 2015 13:49:36 +0800 Subject: [PATCH] rainbows! --- .gitmodules | 3 +++ _vim/bundle/rainbow | 1 + _vimrc | 10 ++++++++++ 3 files changed, 14 insertions(+) create mode 160000 _vim/bundle/rainbow diff --git a/.gitmodules b/.gitmodules index 13172d1..c06f0e6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -55,3 +55,6 @@ [submodule "garbage-io"] path = garbage-io url = https://github.com/phunehehe/garbage-io.git +[submodule "_vim/bundle/rainbow"] + path = _vim/bundle/rainbow + url = https://github.com/luochen1990/rainbow.git diff --git a/_vim/bundle/rainbow b/_vim/bundle/rainbow new file mode 160000 index 0000000..9a609c6 --- /dev/null +++ b/_vim/bundle/rainbow @@ -0,0 +1 @@ +Subproject commit 9a609c651b54a754183fe79fc302f41c521119e2 diff --git a/_vimrc b/_vimrc index 8b7793d..a14134c 100644 --- a/_vimrc +++ b/_vimrc @@ -161,6 +161,16 @@ let g:html_indent_inctags = "html,body,head" let g:html_indent_script1 = "inc" let g:html_indent_style1 = "inc" +" u got a fast terminal +set ttyfast +" to avoid scrolling problems +set lazyredraw +" Syntax coloring lines that are too long just slows down the world +set synmaxcol=240 + +" Rainbow parentheses! +let g:rainbow_active = 1 + "" Key mappings