Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

You cannot assign a mapping to any key that does not send some kind of a different signal back from the keyboard. Since <C-.> doesn't send anything back, as opposed to <.>, you cannot use it.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .