You might also want to see the conversation earlier this week about which Control-keys are considered cross-platform. I think it was C-@ and C-A through C-Z, and the rest are not guaranteed to work on all systems.
-Dmitriy On 10/27/06, Peter Hodge <[EMAIL PROTECTED]> wrote:
Hello, I think it depends on what your terminal can understand. One way you can find it out is to type ':map ' (using command mode), then press CTRL-V and then the key sequence you want to map. For example, to map CTRL-L you could use ':map <CTRL-V><CTRL-L>'. regards, Peter --- Zhaojun WU <[EMAIL PROTECTED]> wrote: > Hi, Vimmers, > > Is there any way to map the "comma" and "period" with "CTRL" such as: > map <C-,> :foo > map <C-.> :foo > It seems the "," and "." cannot be used here directly. How can I do in > this case? > > Another question is how I can check all of the current key mappings in > VIM? I remembered I saw something about it before, but failed to find > it out. > > Thanks, > -- > Best, > Zhaojun > Send instant messages to your online friends http://au.messenger.yahoo.com