# HG changeset patch # User Steve Losh # Date 1314807268 14400 # Node ID 5b9c4d43e1a9f21d73462b810d154de98b51220a # Parent b5ede088f7f2fb56ee0965b580e1feed45bf1e78 Tweaks. diff -r b5ede088f7f2 -r 5b9c4d43e1a9 vim/.vimrc --- 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 c CommentaryLine xmap c Commentary +au FileType htmldjango setlocal commentstring={#\ %s\ #} " }}} " Easymotion {{{ @@ -767,6 +769,7 @@ function! YRRunAfterMaps() nnoremap Y :YRYankCount 'y$' omap L YRMapsExpression("", "$") + omap H YRMapsExpression("", "^") endfunction @@ -865,6 +868,13 @@ nmap :QFixToggle " }}} +" Utils ----------------------------------------------------------------------- {{{ + +function! g:echodammit(msg) + exec 'echom "----------> ' . a:msg . '"' +endfunction + +" }}} " Hg Diff --------------------------------------------------------------------- {{{ function! s:HgDiff() diff -r b5ede088f7f2 -r 5b9c4d43e1a9 vim/colors/molokai.vim --- 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