Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 3 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.