# HG changeset patch # User Steve Losh # Date 1313096783 14400 # Node ID 6dc2660b748a0b52b4815c50481327d5efa6761e # Parent a03a734110c39e46acc30d914bd76aa8c7246d75 More. diff -r a03a734110c3 -r 6dc2660b748a vim/.vimrc --- a/vim/.vimrc Thu Aug 11 15:43:04 2011 -0400 +++ b/vim/.vimrc Thu Aug 11 17:06:23 2011 -0400 @@ -161,6 +161,7 @@ nnoremap / :execute 'vimgrep /'.@/.'/g %':copen " Fix linewise visual selection of various text objects +nnoremap VV V nnoremap Vit vitVkoj nnoremap Vat vatV nnoremap Vab vabV @@ -233,7 +234,7 @@ " Fuck you, help key. set fuoptions=maxvert,maxhorz -noremap :set invfullscreen +noremap :set invfullscreen inoremap :set invfullscreena " Fuck you too, manual key. @@ -887,10 +888,12 @@ set go-=r set go-=R - " PeepOpen + " PeepOpen on OS X, Command-T elsewhere. if has("gui_macvim") macmenu &File.New\ Tab key= map PeepOpen + else + map :CommandT end highlight SpellBad term=underline gui=undercurl guisp=Orange @@ -925,6 +928,9 @@ imap inoremap my0c`y +else + " Command-T if we don't have a GUI. + map :CommandT endif " }}}