Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

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.

share|improve this answer
    
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
add comment

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

share|improve this answer
add comment

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.