4

I tried

let mapleader = "<Tab>"

and

let mapleader = "Tab"

but neither worked. Right now instead of having

nnoremap <Leader>whatever ...<CR>

I have

nnoremap <Tab>whatever ...<CR>

But I would really like to use <Leader>. Any suggestions?

6

Try:

:let mapleader = "\<tab>"

See:

:help expr-quote

Specifically the end of the table in the help entry.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.