44918d574627

Derp.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 25 Oct 2011 23:24:02 -0400
parents 745eafc91857
children 1b686fa14d4a
branches/tags (none)
files chapters/32.markdown

Changes

--- a/chapters/32.markdown	Tue Oct 25 23:21:53 2011 -0400
+++ b/chapters/32.markdown	Tue Oct 25 23:24:02 2011 -0400
@@ -148,7 +148,7 @@
 window with the results, but we haven't opened it yet.  Run the following
 command:
 
-    :nnoremap <leader>G :execute "grep! -R " . shellescape("<cWORD>") . " ."<cr>:copen<cr>
+    :nnoremap <leader>g :execute "grep! -R " . shellescape("<cWORD>") . " ."<cr>:copen<cr>
 
 Now try the mapping and you'll see that Vim automatically opens the quickfix
 window with the search results.  All we did was tack `:copen<cr>` onto the end
@@ -157,7 +157,7 @@
 As the finishing touch we'll remove all the grep output Vim displays while
 searching.  Run the following command:
 
-    :nnoremap <leader>G :silent execute "grep! -R " . shellescape("<cWORD>") . " ."<cr>:copen<cr>
+    :nnoremap <leader>g :silent execute "grep! -R " . shellescape("<cWORD>") . " ."<cr>:copen<cr>
 
 We're done, so try it out and admire your hard work!  The `silent` command just
 runs the command that follows it while hiding any messages it would normally