Saturday, October 15, 2016

Re: Leader ?

On 10/15/2016 09:22 PM, Mohammed wrote:
> On 10/15/2016 09:12 PM, Meino.Cramer@gmx.de wrote:
>
>> Hi Mohammed,
>>
>> thanks for your reply ! :)
>>
>> It seems, that my vim is somehow misconfigured...
>> Is there a way to check, what the leader is like
>> ":set ft<return>" does for the filetype ?
>>
>> Cheers,
>> Meino
>>
>>
> Hello, Meino
>
>
> You can use :echo mapleader to see what it is mapped to. If it says
> mapleader is undefined then that means it is the default which is the
> backslash. To set it, use :let mapleader = "\\" to set it to backslash
> or any other key you want.
>
> Hope I answered your question.
>
> Cheers,
> Mohammed.

I forgot to mention that if you change the leader you will have to
re-issue the nnoremap commands so they map to the new leader key. I
recommend adding the commands to your .vimrc and restarting vim so all
the remaps take the new leader value.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: