Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Screen makes my ESC key wait for more commands I beleive, and if it does not get those commands, it sends it to my terminal Session (which I am running VIM in). ESC is used alot in VIM and currently I do not make any use of the ESC key in Screen.

How would I go about changing the timeout?

I have read that these commands below inside of .screenrc should fix it, but it doesn't seem to be working for me:

maptimeout 0
defc1 off
share|improve this question
2  
FWIW I don't see any such delay when running vim under screen myself. I've got a more or less vanilla screen set up, subject to the defaults used in Ubuntu 10.10. ————— This sort of thing would happen if you've got a mapping set to Esc-something. Maybe scan through the output from :map to check that. –  intuited Mar 2 '11 at 1:14
    
When you do "ctrl-a i", do you see "-flow" or "+flow"? Or try running screen w/o your .screenrc to see if this still happens. –  barrycarter Mar 26 '11 at 15:40
1  
maptimeout 0 alone should be enough. Do you also have a delay outside vim? Inside screen, is the delay the same duration as the maptimeout setting? –  Gilles Mar 29 '11 at 19:48
    
If I were you, I would use tmux. –  kzh Jun 28 '11 at 15:37
    
maptimeout 0 worked for me. –  schmmd Jan 28 at 23:36

1 Answer 1

I would change the screen key binding away from esc to something like ctrl. I have not experienced anything like what you are describing with the default binding in .screenrc in AIX, Fedora, Debian, or Ubuntu.

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.