1c1a07e9855f

Explain the \\ in localleader mappings.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 13 Nov 2011 18:06:08 -0500
parents 62bd929d4bb6
children 6cda2667b3e8
branches/tags (none)
files chapters/06.markdown

Changes

--- a/chapters/06.markdown	Sun Nov 13 18:02:32 2011 -0500
+++ b/chapters/06.markdown	Sun Nov 13 18:06:08 2011 -0500
@@ -80,8 +80,11 @@
 
     :let maplocalleader = "\\"
 
-You can use `<localleader>` in mappings and it will work just like `<leader>`
-does, except for resolving to a different key.
+Notice that we have to use `\\` and not just `\` because `\` is the escape
+character in strings.  You'll learn more about this later.
+
+Now you can use `<localleader>` in mappings and it will work just like
+`<leader>` does, except for resolving to a different key.
 
 Exercises
 ---------