1b0acafc0591

Update 16.markdown

Missing $ in remap for "around this sections heading"
[view raw] [browse files]
author rhilenova <rhilenova@gmail.com>
date Fri, 25 Jul 2014 13:47:21 -0400
parents 56683eb09ecc
children b5fbfe6dc879
branches/tags (none)
files chapters/16.markdown

Changes

--- a/chapters/16.markdown	Thu Apr 04 01:38:14 2013 -0400
+++ b/chapters/16.markdown	Fri Jul 25 13:47:21 2014 -0400
@@ -161,7 +161,7 @@
 Let's look at one more mapping before we move on.  Run the following command:
 
     :::vim
-    :onoremap ah :<c-u>execute "normal! ?^==\\+\r:nohlsearch\rg_vk0"<cr>
+    :onoremap ah :<c-u>execute "normal! ?^==\\+$\r:nohlsearch\rg_vk0"<cr>
 
 Try it by putting your cursor in a section's text and typing `cah`.  This time
 Vim will delete not only the heading's text but also the line of equal signs