> On Mon, Jan 4, 2010 at 7:37 PM, Brett Stahlman<brettstahl...@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.
Michael,
Txtfmt provides a flexible method for customizing map key sequences.
To demonstrate with a simple example, you could change the default...
<C-\><C-\>
...to...
<C-_>
...with the following line in your .vimrc:
imap <C-_> <Plug>TxtfmtInsertTok_i
In addition to helping with non-English keyboards, this can also can
prove useful when the Txtfmt default conflicts with maps defined by
other plugins.
For more details on map customization...
:help txtfmt-map-config
To see a listing of all insert-token mappings that can be
customized...
:help txtfmt-ins-tok-map-list
The same customization capability is available for other types of maps
as well (e.g., txtfmt-jump-to-tok-maps).
Hope this helps...
Brett Stahlman
>
> I just get
>
> \\
>
> 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
>
> --
> Du bist meine kleine Gummizellehttp://michaelmaurer.net/archives/2009/11/14/du_bist_meine_kleine_gum...
No comments:
Post a Comment