Reduce adding a mapping to eight keystrokes
author |
Christian G. Warden <cwarden@xerus.org> |
date |
Fri, 18 Nov 2011 14:20:33 -0800 |
parents |
b0383a6b84a1
|
children |
ce3080899ffb
|
branches/tags |
(none) |
files |
chapters/07.markdown |
Changes
--- a/chapters/07.markdown Fri Nov 18 14:18:41 2011 -0800
+++ b/chapters/07.markdown Fri Nov 18 14:20:33 2011 -0800
@@ -105,11 +105,11 @@
* Use `<leader>ev` to open the file.
* Add the mapping.
-* Use `:wq` to write the file and close the split, bringing us back to where we
+* Use `ZZ` to write the file and close the split, bringing us back to where we
were.
* Use `<leader>sv` to source the file and make our changes take effect.
-That's nine keystrokes plus whatever it takes to define the mapping. It's very
+That's eight keystrokes plus whatever it takes to define the mapping. It's very
little overhead, which reduces the chance that we break our concentration.
Exercises