diff --git a/vimrc b/vimrc index 04d9f289..b5ef6598 100644 --- a/vimrc +++ b/vimrc @@ -309,9 +309,19 @@ hi Directory guifg=#5285b4 hi NonText guifg=#101010 "hide the blank line ~ marks hi rubyClass guifg=lightgreen gui=bold +" this affects LustyJuggler's 'currently selected' color +" designed for use with solarized colorscheme +hi Question guifg=yellow + " show this many lines around what i'm editing set so=8 +" aliases (C)opy (c)ommand - which allows us to execute +" the line we're looking at (it does so by yy-copy, colon +" to get to the command mode, C-f to get to history editing +" p to paste it, C-c to return to command mode, and CR to execute +nmap Cc yy:p + " Find references to the currently opened partial (file) " by pressing P in command mode function GitGrepCurrentPartial() @@ -365,3 +375,6 @@ nnoremap cf :let @* = expand("%:p") " For fugitive.git, dp means :diffput. Define dg to mean :diffget nnoremap dg :diffget + +" alias W to write the file instead of :w +nnoremap W :w