Thursday, January 7, 2016

Re: localleader E225

Hi Steve!

On Do, 07 Jan 2016, Steve wrote:

> Hello everybody,
>
> Happy New Year and best wishes for 2016!
>
> I'm having problems with localleader for the po.vim filetype.
>
> If I don't define maplocalleader, actions like ,m (to go to next
> untranslated string) doesn't work at all. If I
>
> let maplocalleader = ","
>
> in my vimrc, I get this when firing up vim:
>
> Erreur détectée en traitant /home/steve/.vim/ftplugin/po.vim :
> ligne 287 :
> E225: un mappage global existe déjà pour ,t
>
> which translates to something like:
>
> Error detected while processing /home/steve/.vim/ftplugin/po.vim :
> line 287:
> E225: a global mapping already exists for ,t
>
>
> but ,m then works. I tried mapping to another key (-), but same symptom.
>
> How can I get rid of this error and what am I doing wrong?

Looks like you already have a (global) mapping for ,t defined. The
plugin tries to define a mapping to ,t while you already have a mapping
to ',t' and this creates a conflict with the po.vim plugin, which uses
<unique> and therefore the error is diplayed.

Please show the output of
:verbose nmap ,t

This should show, where the global ,t mapping is defined.

Best,
Christian
--
Ganze Sachen sind immer einfach wie die Wahrheit selbst. Nur die
halben Sachen sind kompliziert.
-- Heimito von Doderer (Pseudonym: Stangeler, Reneé)

--
--
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: