ba2b338cf6d5
Merge.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Sat, 08 Sep 2012 13:45:05 -0400 |
parents | 11b6950a211e (diff) 7a638cd48d48 (current diff) |
children | 6baa30c3b7d3 |
branches/tags | (none) |
files | chapters/16.markdown |
Changes
--- a/chapters/16.markdown Sat Jun 16 16:25:45 2012 -0400 +++ b/chapters/16.markdown Sat Sep 08 13:45:05 2012 -0400 @@ -48,7 +48,9 @@ ------ The `:normal` command takes a set of characters and performs whatever action -they would do if they were typed in normal mode. Run this command: +they would do if they were typed in normal mode. We'll go into greater detail +in a later chapter, but we've seen it a few times already so it's time to at +least get a taste. Run this command: :::vim :normal gg @@ -60,13 +62,8 @@ Vim will indent the current line. -In our mapping we're using a version of `:normal` with a `!` at the end. This -version will *not* take any existing mappings into account, whereas plain -`:normal` will use them. - -In effect, `:normal!` is to `:normal` as `nnoremap` is to `nmap`. You should -*always* prefer `:normal!` for the same reasons you should always use -`nnoremap`, which we discussed in an earlier chapter. +For now, don't worry about the `!` after `normal` in our mapping. We'll talk +about that later. Execute -------