# HG changeset patch # User Steve Losh # Date 1484567023 0 # Node ID 72f09a8646a671fc66528ff3fc5758e120acc40c # Parent 5e8125c4f47ba2899d488be2f5feb1761a842f74# Parent 5565cbd4a7bc97112ed2fbc83d2aff4a9b67563b Merge. diff -r 5e8125c4f47b -r 72f09a8646a6 chapters/09.markdown --- 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 " viwa"hbi"lel + :nnoremap " viwa"bi"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 `"`. Vim @@ -53,7 +53,6 @@ * `a`: enter insert mode *after* the current character * `"`: insert a `"` into the text, because we're in insert mode * ``: 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