From dcc77b7f165ccb234cf0fd17b7db99e8ae7c793d Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 11 Jan 2016 14:30:31 +0100 Subject: [PATCH] Mapleader: also defaults to \ --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7c5c812..adf754f 100644 --- a/README.md +++ b/README.md @@ -209,14 +209,14 @@ let mapleader = ' ' nnoremap h :helpgrep ``` -**Note**: Set the mapleader before the mappings! All the leader mappings that -are in effect already, won't change just because the mapleader was changed. -`:nmap ` will show all normal mode leader mappings with the mapleader -resolved already, so use it to double-check your mappings. +Moreover, there is `` that is the local counterpart to `` +and is supposed to be used for mappings that are local to the buffer, eg. +filetype-specific plugins. It also defaults to `\`. -Opposed to the global ``, there's is also `` which is -supposed to be used in filetype-specific plugins. There is no default set for -the local mapleader. +**Note**: Set the mapleaders before mappings! All leader mappings that are in +effect already, won't change just because the mapleader was changed. `:nmap +` will show all normal mode leader mappings with the mapleader resolved +already, so use it to double-check your mappings. See `:h mapleader` and `:h maplocalleader` for more.