Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


map `\` to `,`, becase <leader> takes `,` #538

wants to merge 1 commit into from

5 participants

Ethan Zhang Mike Funk John Tyree Matthew Woelk Steve Francia
Ethan Zhang

No description provided.

Mike Funk
John Tyree

Is this just for working around broken plugins that don't honor <leader> ?

Ethan Zhang

Accurately map \ will not affect any maps like \a or \b.

Matthew Woelk

Do you mean something like this? (From my .vimrc.local)

noremap \ ,
John Tyree

I'm totally against indiscriminately remapping a key like this.

Some plugins use \ instead of <leader> which is annoying, but sometimes people (myself included) use \ for other things. This kind of mapping belongs in your personal .vimrc.local.

What problem is this solving? Maybe I'm just not understanding you correctly.

Steve Francia

I agree with @johntyree Best in local.

Steve Francia spf13 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 28, 2014
  1. Ethan Zhang
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  .vimrc
1  .vimrc
@@ -237,6 +237,7 @@
" character) add the following to your .vimrc.before.local file:
" let g:spf13_leader='\'
if !exists('g:spf13_leader')
+ nnoremap \ ,
let mapleader = ','
let mapleader=g:spf13_leader
Something went wrong with that request. Please try again.