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.
精彩评论