Remove unnecessary instruction
We don't need to switch to file `foo` when we are already in file `foo`.
author |
Richard Cheng <rcheng@neuratron.com> |
date |
Wed, 11 Apr 2012 11:43:41 +0100 |
parents |
5f0854fc2f0c
|
children |
dd723c5dadcd
|
branches/tags |
(none) |
files |
chapters/11.markdown |
Changes
--- a/chapters/11.markdown Thu Apr 05 13:19:51 2012 +0100
+++ b/chapters/11.markdown Wed Apr 11 11:43:41 2012 +0100
@@ -97,7 +97,7 @@
:nnoremap <buffer> Q x
:nnoremap Q dd
-Now switch to file `foo` and type `Q`. What happens?
+Now type `Q`. What happens?
When you press `Q`, Vim will run the first mapping, not the second, because the
first mapping is *more specific* than the second.