# HG changeset patch # User Christian G. Warden # Date 1321654833 28800 # Node ID 067e066fd290666d8d69c3bbca92a61f58e2ef4b # Parent b0383a6b84a126d4dd88c0a1144a95a1b26e9c2c Reduce adding a mapping to eight keystrokes diff -r b0383a6b84a1 -r 067e066fd290 chapters/07.markdown --- 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 `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 `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