b5fbfe6dc879

Merge.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 20 Nov 2016 11:35:05 +0000
parents cacf10f606ba (current diff) 1b0acafc0591 (diff)
children c6cd81623f93
branches/tags (none)
files

Changes

--- a/chapters/16.markdown	Thu Nov 17 11:38:03 2016 +0000
+++ b/chapters/16.markdown	Sun Nov 20 11:35:05 2016 +0000
@@ -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