In the last days i became very addicted of using the combination terminator (in full screen) + screen + vim. But i'm having problems with the ctrl + right and ctrl + left key mappings, they are erasing text instead of jumping words. I already checked and it works as expected when using only terminator and vim.

Somebody know how to fix this issue?

Thanks in advance


It's probably due to TERM being set to screen. If using bash, try:

export TERM=xterm

before running vim.

Note this might have other consequences, so you might want to try other terminals if that's the case.

  • Tks, it works like a charm – Dimas Kotvan Dec 3 '10 at 13:07
  • Nice, glad it worked fine for you! – icyrock.com Dec 4 '10 at 15:21
  • Thanks; I really wanted to use byobu in ubunut, but these issues just made it frustrating. – nlucaroni Sep 26 '11 at 20:30

You can also use :set term=xterm inside of vim

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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