The keystroke Ctrl+R is important to me because it's the redo command in vim. However, it seems to do nothing at all in Ubuntu's terminal. When I press Ctrl+V and then Ctrl+R, nothing is registered at all. And it does nothing in vim.

Any ideas what's going on? It's a vanilla Ubuntu installation.

closed as off-topic by Gilles, Ramesh, jasonwryan, slm Oct 4 '14 at 0:56

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Gilles, Ramesh, jasonwryan, slm
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Have you set your terminal to use vim bindings or is it using the default emacs? Does it work in vim itself? – terdon Oct 2 '14 at 19:56
  • @terdon No, I have not set the terminal to use vim bindings. It does not work in vim. But since it's not registered when I perform a verbatim insert with ctrl+v first, I believe the problem is not with vim, but rather with the terminal. I only care about it working in vim. – intelli78 Oct 2 '14 at 20:02
  • I know, I asked if it worked in vim to determine whether it is a more general problem or specific to your terminal. I assume that R alone works fine and Ctrl+other keys also right? Just covering all the bases here. – terdon Oct 2 '14 at 20:11
  • Yes, R alone works fine, and other Ctrl commands work, such as Ctrl+W to switch between window splits. – intelli78 Oct 2 '14 at 20:13
  • If possible, take gnome-terminal out of the path and try the GUI gvim. If ^R doesn't work there, then xev will show you the KeyPress and KeyRelease events. If xev doesn't show a keysym CONTROL and keysym r, contact an exorcist. – msw Oct 2 '14 at 23:13

Avoid gnome-terminal at all costs (there is no reason you have to use the terminal emulator that is made by the same people as your DE). It is a terrible terminal emulator that eats keystrokes and violates all sorts of standards.

I prefer xterm, despite its lack of frills, although konsole (from KDE) is still pretty high quality but offers a lot of the things normal users expect. Avoid anything from the rxvt family. I plan on trying pangoterm, since I know it is standards-compliant, but it's not packaged yet.

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