517ccbe9799e

Add makegreen.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 20 Jun 2011 18:56:22 -0400
parents 7eae993ccc65
children 496c5c177a4c
branches/tags (none)
files .hgsub .hgsubstate vim/.vimrc vim/colors/molokai.vim

Changes

--- a/.hgsub	Fri Jun 17 10:41:38 2011 -0400
+++ b/.hgsub	Mon Jun 20 18:56:22 2011 -0400
@@ -18,3 +18,4 @@
 vim/bundle/vim-orgmode = [git]git://github.com/sjl/vim-orgmode.git
 vim/bundle/slimv = [hg]http://bitbucket.org/kovisoft/slimv
 vim/bundle/threesome = [hg]http://bitbucket.org/sjl/threesome.vim
+vim/bundle/vim-makegreen = [git]git://github.com/sjl/vim-makegreen.git
--- a/.hgsubstate	Fri Jun 17 10:41:38 2011 -0400
+++ b/.hgsubstate	Mon Jun 20 18:56:22 2011 -0400
@@ -17,4 +17,5 @@
 4995b244e11d5aaa9956bba061c32140e6af8705 vim/bundle/threesome
 b9b4407a19acc4eb344cca0cc5beea75e9ff5491 vim/bundle/vim-coffee-script
 c2df2e430d7d5fe645aa40e36079ab51f082e06b vim/bundle/vim-javascript
+f21fbd8759d7fa6c3cb1bbb9fe05eae90422f01a vim/bundle/vim-makegreen
 24c00fcb00145bd283fc6d2b4494ab02a46941f6 vim/bundle/vim-orgmode
--- a/vim/.vimrc	Fri Jun 17 10:41:38 2011 -0400
+++ b/vim/.vimrc	Mon Jun 20 18:56:22 2011 -0400
@@ -244,6 +244,7 @@
 " Clojure {{{
 
 au FileType clojure call TurnOnClojureFolding()
+au FileType clojure compiler clojure
 
 " Eval toplevel form, even when you're on the opening paren.
 au FileType clojure nmap <localleader>ee 0;\et
@@ -472,6 +473,10 @@
 " Faster Esc
 inoremap jk <ESC>
 
+" Cmdheight switching
+nnoremap <leader>1 :set cmdheight=1<cr>
+nnoremap <leader>2 :set cmdheight=2<cr>
+
 " Marks and Quotes
 noremap ' `
 noremap æ '
@@ -601,6 +606,11 @@
 map <leader>td <Plug>TaskList
 
 " }}}
+" Makegreen {{{
+
+nnoremap <localleader><localleader> :call MakeGreen('')<cr>
+
+" }}}
 " Pydoc {{{
 
 au FileType python noremap <buffer> <localleader>lw :call ShowPyDoc('<C-R><C-W>', 1)<CR>
--- a/vim/colors/molokai.vim	Fri Jun 17 10:41:38 2011 -0400
+++ b/vim/colors/molokai.vim	Mon Jun 20 18:56:22 2011 -0400
@@ -52,6 +52,9 @@
 hi vCursor         guifg=#000000 guibg=#AAF412
 " }}}
 
+hi GreenBar term=reverse ctermfg=white ctermbg=green guifg=#FFFFFF guibg=#604A8C
+hi RedBar   term=reverse ctermfg=white ctermbg=red guifg=#FFFFFF guibg=#C50048
+
 hi EasyMotionTarget guifg=#E4E500 guibg=bg gui=bold
 hi EasyMotionShade guifg=#444444 guibg=bg gui=bold
 hi Directory       guifg=#A6E22E               gui=bold