On Jun 14, 3:59 am, Erik Christiansen <[email protected]> wrote:
> In Vim 7.3, I added the following mappings:
>
> map <A-a>
> map <A-e>
> map <A-o>
> map <A-<>
> map <A->>
>

I see only incomplete mappings here.

> in an effort to make vim a little more Danish-friendly. All the mappings
> are accepted without complaint, but the characters displayed when the
> mappings are invoked are not those mapped. I've tried both with
> fenc=latin1 and fenc=utf-8.

For which file? The .vimrc? I believe Vim assumes the file is in
latin1 encoding but I may be wrong. You can use the :scriptencoding
command to change this.

> In each case, the displayed characters are:
>
> <A-a>
> <A-e>
> <A-o>
> <A-<>
> <A-<>
>

Displayed when you do what? These are normal-mode mappings, what do
you do to get them to display anything?

> This post was input with fenc=utf-8, and the mappings set by pasting the
> above map statements into the ex command line.
>

The fenc setting does not affect input or copy-paste. The 'enc' and
possibly the 'termenc' options affect this. 'fenc' only affects the
bytes which are written to disk (and whether the characters are
representable on disk at all).

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

Reply via email to