Thursday, January 7, 2010

Re: Txtfmt-plugin and txtfmtBgColor

Michael Maurer wrote:
> On Mon, Jan 4, 2010 at 7:37 PM, Brett Stahlman
> <brettstahlman@comcast.net> wrote:
> ..snip
>> Please don't hesitate to ask any more questions you may have...
>>
>> Thanks,
>> Brett Stahlman
>
> Another thing I just noticed that might be of importance to
> non-english keyboard-layouts:
>
> You recommend pressing <CTRL-\><CTRL-\> in quick succession to
> terminate the formatted area (while in insert mode). On german
> keyboards, \ can only be typed by pressing ALT+ß, so for
> <CTRL-\><CTRL-\> I would have to press <CTRL-ALT-ß><CTRL-ALT-ß>. This
> doesn't seem to work. I tried it different ways, but no luck.
>
> I just get
>
> \\

Michael,
Although you may wish to customize the map sequence (as described in my
previous post) simply because Ctrl-Alt-ß is harder to type than Ctrl-\,
I'm wondering whether there could be something odd with your setup, as I
don't see this issue when I switch to a German keyboard layout. For me,
typing the sequence you described in insert mode brings up the "Enter a
fmt / clr string" prompt, just as <C-\><C-\> does on my US keyboard layout.

I'm wondering whether the <C-\><C-\> map is even defined for you. Does
:imap in a Txtfmt buffer display something like the following?
i <C-\><C-\> @<Plug>TxtfmtInsertTok_i

The only thing I know of that could prevent the map from being defined
is a conflict or ambiguity with a mapping defined by another plugin, but
even then, unless you've altered the default setting of the
txtfmtMapwarn option, the Txtfmt mapping will be defined anyway.

Brett Stahlman

>
> It might be something in my gvimrc that's blocking it though. I'm not
> excluding the possibility that my config/setup is the culprit.
>
> - Michael
>
>

No comments: