--- a/vim/.vimrc Mon Aug 29 14:33:10 2011 -0400
+++ b/vim/.vimrc Wed Aug 31 12:14:28 2011 -0400
@@ -155,7 +155,8 @@
nnoremap g; g;zz
nnoremap g, g,zz
-" L is easier to type, and I never use the default behavior.
+" Easier to type, and I never use the default behavior.
+noremap H ^
noremap L $
" Heresy
@@ -609,6 +610,7 @@
nmap <leader>c <Plug>CommentaryLine
xmap <leader>c <Plug>Commentary
+au FileType htmldjango setlocal commentstring={#\ %s\ #}
" }}}
" Easymotion {{{
@@ -767,6 +769,7 @@
function! YRRunAfterMaps()
nnoremap Y :<C-U>YRYankCount 'y$'<CR>
omap <expr> L YRMapsExpression("", "$")
+ omap <expr> H YRMapsExpression("", "^")
endfunction
@@ -865,6 +868,13 @@
nmap <silent> <f4> :QFixToggle<cr>
" }}}
+" Utils ----------------------------------------------------------------------- {{{
+
+function! g:echodammit(msg)
+ exec 'echom "----------> ' . a:msg . '"'
+endfunction
+
+" }}}
" Hg Diff --------------------------------------------------------------------- {{{
function! s:HgDiff()
--- a/vim/colors/molokai.vim Mon Aug 29 14:33:10 2011 -0400
+++ b/vim/colors/molokai.vim Wed Aug 31 12:14:28 2011 -0400
@@ -56,7 +56,7 @@
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 EasyMotionShade guifg=#444444 guibg=bg gui=bold
hi Directory guifg=#A6E22E gui=bold
hi Error guifg=#960050 guibg=#1E0010
hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
@@ -139,6 +139,9 @@
hi Define ctermfg=81
hi Delimiter ctermfg=241
+ hi EasyMotionTarget ctermfg=11
+ hi EasyMotionShade ctermfg=8
+
hi DiffAdd ctermbg=24
hi DiffChange ctermfg=181 ctermbg=239
hi DiffDelete ctermfg=162 ctermbg=53