有没有办法map Ctrl+,./;0-9

8 views
Skip to first unread message

realfun

unread,
Mar 12, 2009, 1:05:13 AM3/12/09
to Vim...@googlegroups.com
我试过<C-,>和<C-0>这样的map,好像都不行,不知道有没有什么办法可以做这种用键盘映射

--
代码发芽网: http://www.fayaa.com/code/ (无需插件支持blog代码高亮,100+种语言,30+种高亮主题)
游戏发芽网: http://www.fayaa.com/youxi/ (华容道等在线小游戏)
我的Blog: 半瓶墨水(http://www.2maomao.com/blog)

tocer

unread,
Mar 12, 2009, 11:28:37 PM3/12/09
to Vim. cn
Excerpts from realfun's message of 四 3月 12 13:05:13 +0800 2009:
> 我试过<C-,>和<C-0>这样的map,好像都不行,不知道有没有什么?
> ??法可以做这种用键盘映射
>

参见:
https://groups.google.com/group/vim_use/browse_thread/thread/8accdbe867ef9115/8fd55b8deef692c4?lnk=gst&q=map+ctrl+0#8fd55b8deef692c4

realfun

unread,
Mar 12, 2009, 11:46:51 PM3/12/09
to Vim...@googlegroups.com
原来是这样,谢谢了

For portability, the only "Ctrl+printable key" combinations recognized
by Vim are those where the "printable key" corresponds to a character in
the range 0x3F-0x5F, or a lowercase letter, as follows:

2009/3/13 tocer <tocer...@gmail.com>
Reply all
Reply to author
Forward
0 new messages