72f09a8646a6

Merge.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 16 Jan 2017 11:43:43 +0000
parents 5e8125c4f47b (current diff) 5565cbd4a7bc (diff)
children 89b8a4319ce5
branches/tags (none)
files

Changes

--- a/chapters/09.markdown	Tue Jan 03 14:55:53 2017 +0000
+++ b/chapters/09.markdown	Mon Jan 16 11:43:43 2017 +0000
@@ -35,7 +35,7 @@
 with a bit more meat to it.  Run the following command:
 
     :::vim
-    :nnoremap <leader>" viw<esc>a"<esc>hbi"<esc>lel
+    :nnoremap <leader>" viw<esc>a"<esc>bi"<esc>lel
 
 Now *that's* an interesting mapping!  First, go ahead and try it out.  Enter
 normal mode, put your cursor over a word in your text and type `<leader>"`.  Vim
@@ -53,7 +53,6 @@
 * `a`: enter insert mode *after* the current character
 * `"`: insert a `"` into the text, because we're in insert mode
 * `<esc>`: return to normal mode
-* `h`: move left one character
 * `b`: move back to the beginning of the word
 * `i`: enter insert mode *before* the current character
 * `"`: insert a `"` into the text again