Steve Losh committed 6dc2660


  • Participants
  • Parent commits a03a734

Comments (0)

Files changed (1)

 nnoremap <silent> <leader>/ :execute 'vimgrep /'.@/.'/g %'<CR>:copen<CR>
 " Fix linewise visual selection of various text objects
+nnoremap VV V
 nnoremap Vit vitVkoj
 nnoremap Vat vatV
 nnoremap Vab vabV
 " Fuck you, help key.
 set fuoptions=maxvert,maxhorz
-noremap <F1> :set invfullscreen<CR>
+noremap  <F1> :set invfullscreen<CR>
 inoremap <F1> <ESC>:set invfullscreen<CR>a
 " Fuck you too, manual key.
     set go-=r
     set go-=R
-    " PeepOpen
+    " PeepOpen on OS X, Command-T elsewhere.
     if has("gui_macvim")
         macmenu &File.New\ Tab key=<nop>
         map <leader><leader> <Plug>PeepOpen
+    else
+        map <leader><leader> :CommandT<cr>
     highlight SpellBad term=underline gui=undercurl guisp=Orange
     imap <M-BS>         <C-w>
     inoremap <D-BS>     <esc>my0c`y
+    " Command-T if we don't have a GUI.
+    map <leader><leader> :CommandT<cr>
 " }}}