Unable to define a mapping including the '.' key

Posted by Ton van den Heuvel on Super User See other posts from Super User or by Ton van den Heuvel
Published on 2010-03-13T09:40:14Z Indexed on 2010/03/13 9:45 UTC
Read the original article Hit count: 333

Filed under:
|

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

  map <C-.> :bn<CR>

This does 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?

© Super User or respective owner

Unable to define a mapping including the '.' key

Posted by Ton van den Heuvel on Stack Overflow See other posts from Stack Overflow or by Ton van den Heuvel
Published on 2010-03-13T10:04:50Z Indexed on 2010/03/13 12:15 UTC
Read the original article Hit count: 333

Filed under:
|

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

  map <C-.> :bn<CR>

This does 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?

© Stack Overflow or respective owner

Related posts about vim

Related posts about gvim