# HG changeset patch # User Steve Losh # Date 1285087992 14400 # Node ID 2e52cefc189933cf2d3168527ffee13b1925be94 # Parent da7bdcfffdcbb4d499b0e53b922d437a3aeb982e# Parent 9841a762fa2d8e006c69de101d7df6a15cfab9a2 Merge. diff -r 9841a762fa2d -r 2e52cefc1899 .hgignore --- a/.hgignore Tue Sep 21 12:51:12 2010 -0400 +++ b/.hgignore Tue Sep 21 12:53:12 2010 -0400 @@ -8,3 +8,4 @@ tags config/bcvi *.un~ +vim/tmp diff -r 9841a762fa2d -r 2e52cefc1899 vim/.gvimrc --- a/vim/.gvimrc Tue Sep 21 12:51:12 2010 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -set guifont=Menlo:h12 -colorscheme molokai -set background=dark - -set go-=T -set go-=l -set go-=L -set go-=r -set go-=R - -if has("gui_macvim") - macmenu &File.New\ Tab key= - map t PeepOpen -end - -let g:sparkupExecuteMapping = '' - -highlight SpellBad term=underline gui=undercurl guisp=Orange - diff -r 9841a762fa2d -r 2e52cefc1899 vim/.vimrc --- a/vim/.vimrc Tue Sep 21 12:51:12 2010 -0400 +++ b/vim/.vimrc Tue Sep 21 12:53:12 2010 -0400 @@ -32,9 +32,9 @@ set undofile " Backups -set backupdir=~/tmp,/tmp " backups (~) -set directory=~/tmp,/tmp " swap files -set backup " enable backups +set backupdir=~/.vim/tmp/backup// " backups +set directory=~/.vim/tmp/swap// " swap files +set backup " enable backups " Leader let mapleader = "," @@ -48,7 +48,7 @@ set showmatch set hlsearch set gdefault -map :let @/='' +map :noh runtime macros/matchit.vim nmap % vmap % @@ -113,6 +113,7 @@ set foldtext=MyFoldText() " Fuck you, help key. +set fuoptions=maxvert,maxhorz inoremap :set invfullscreena nnoremap :set invfullscreen vnoremap :set invfullscreen @@ -127,7 +128,7 @@ au BufNewFile,BufRead *.m*down nnoremap 3 I### " Sort CSS -map S ?{jV/^\s*\}?$k:sort:let @/='' +map S ?{jV/^\s*\}?$k:sort:noh " Clean whitespace map W :%s/\s\+$//:let @/='' @@ -228,3 +229,26 @@ " Save when losing focus au FocusLost * :wa +" Stop it, hash key +inoremap # X# + +if has('gui_running') + set guifont=Menlo:h12 + colorscheme molokai + set background=dark + + set go-=T + set go-=l + set go-=L + set go-=r + set go-=R + + if has("gui_macvim") + macmenu &File.New\ Tab key= + map t PeepOpen + end + + let g:sparkupExecuteMapping = '' + + highlight SpellBad term=underline gui=undercurl guisp=Orange +endif diff -r 9841a762fa2d -r 2e52cefc1899 vim/bundle/makegreen/plugin/makegreen.vim --- a/vim/bundle/makegreen/plugin/makegreen.vim Tue Sep 21 12:51:12 2010 -0400 +++ b/vim/bundle/makegreen/plugin/makegreen.vim Tue Sep 21 12:53:12 2010 -0400 @@ -70,7 +70,7 @@ noremap Make :call RunMake() if !hasmapto('MakeGreen') - map t MakeGreen + map test MakeGreen endif " }}}1 diff -r 9841a762fa2d -r 2e52cefc1899 vim/tmp/backup/.placeholder diff -r 9841a762fa2d -r 2e52cefc1899 vim/tmp/swap/.placeholder