# HG changeset patch # User Steve Losh # Date 1318187667 14400 # Node ID 848c8d85f138c6115efce59c2e039eec09f82b99 # Parent effedad808661a1b40bf7c3127bc4d25be3bcf07 exercise diff -r effedad80866 -r 848c8d85f138 chapters/16.markdown --- a/chapters/16.markdown Sun Oct 09 15:05:16 2011 -0400 +++ b/chapters/16.markdown Sun Oct 09 15:14:27 2011 -0400 @@ -189,6 +189,10 @@ check out `:help pattern-overview`. Remember that the regex is inside of a string, so backslashes will need to be escaped. +Add two autocommands to your `~/.vimrc` file that will create these mappings. +Make sure to only map them in the appropriate buffers, and make sure to group +them so they don't get duplicated each time you source the file. + Read `:help normal`. Read `:help execute`.