ac15261ccd97
Two typos.
author | Jason Ribeiro <jason.ribeiro@gmail.com> |
---|---|
date | Tue, 17 Apr 2012 19:13:27 -0400 |
parents | ee7e65e9658e |
children | c1302fc8b9d0 |
branches/tags | (none) |
files | chapters/51.markdown |
Changes
--- a/chapters/51.markdown Sun Apr 08 15:34:54 2012 -0400 +++ b/chapters/51.markdown Tue Apr 17 19:13:27 2012 -0400 @@ -87,7 +87,7 @@ mappings will call. You'll see this strategy in a lot of Vim plugins that create a number of similar -mappings. It's easier to read and maintain then stuffing all the functionality +mappings. It's easier to read and maintain than stuffing all the functionality in to a bunch of mapping lines. Change the `sections.vim` file to contain this: @@ -298,7 +298,7 @@ execute 'silent normal! ' . dir . pattern . dir . flags . "\r" endfunction -Two things have changed. First, the function takes an extra argument so it know +Two things have changed. First, the function takes an extra argument so it knows whether it's being called from visual mode or not. Second, if it's called from visual mode we run `gv` to restore the visual selection.