...
> Yes, in theory. I'm not exactly sure how to get any of those problematic
>> ones working in the terminal.
>>
>> You can try using whatever you get by actually typing <C-V><S-CR> as the
>> left side of a mapping. E.g. so you mapping looks like:
>>
>> map ^[0^M A
>>
>> But that's not very pretty...I think there's a way to actually fix it.
>>
>> I mostly use GUI Vim, so most mappings I try just work without much
>> trouble.
>>
>
> Thanks,
> It works but I feel dirty :/
>
>
There are other ways to creating mappings then with the control characters.
(On Windows) I map the ALT-< and ALT-> keys.
In a buffer, go into INSERT mode.
Hit CTRL-V, then type ALT-<
Hit Escape.
The character in my buffer is this:
¬
Put your cursor on the character displayed, hit ga
Vim displays this:
<¬> <|,> <M-,> 172, Hex ac, Octal 254
Using the ACSII number (172), you can create mappings like this:
map <Char-172> A
Instead of this:
map ^[0^M A
I find that much less dirty, though I document in Vim comments right above
the mapping how I came up with Char-172.
HTH,
David
--
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.