开发者

Unable to define a mapping including the '.' key

I am trying to define a mapping for Ctrl+. as follows:

  map <C-.> :bn<CR>

This d开发者_如何学Gooes not work. Typing Ctrl+. just results in repeating the last action just as you would get when typing .. Note that I do not want to change the behaviour of .. Any idea how to get this to work?


I think you could use xbindkeys to map <C-.> on some script that will send WINCH signal to the current vim window. This signal causes VimResized autocommands to run. It is the only way I figured out. Maybe you could modify your current keymap so that <C-.> will produce something different than a dot, but I do not know how you could do it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜