56
11
I've been using Vim for several months now via my web host (they allow putty access). All of a sudden, the escape
key has become unresponsive. I cannot exist insert or any other mode by simply hitting escape. I have to hit F1
which brings up the help in vim and kicks me into command mode.
I'm most certain that my escape key on my keyboard is functioning fine since all of my windows shortcuts that use the escape key operate normally.
I know this is a ridiculous question and I'm certain there's a lot more to look into regarding a solution. What I really need is a solid lead as to where to start looking.
Things that might help:
- I'm using vim via putty
- I'm logging in using jailshell
- I'm not root
what are your terminal settings? ie what exactly is the TERM environment variable set to (in the remote shell)? – quack quixote – 2010-04-11T21:28:29.680
$TERM is set to 'xterm' – Levi Hackwith – 2010-04-11T21:33:20.667
Does
Ctrl-[
work? What do you get if you pressCtrl-v
then escape? It should show as^[
. – Paused until further notice. – 2010-04-11T21:35:52.707The Ctrl-[ worked. Rock on! This saves me a lot of frustration. Is there any chance you can explain why
esc
no longer works? Also, please post your comment as an answer so I can accept it. – Levi Hackwith – 2010-04-11T21:42:08.057My first thought when reading this: "Oh he broke his 'Get me the heck out of here' button" – Daniel – 2016-11-10T17:41:44.377
this just happened to me after a fresh install of gvim: turns out I was in gvim-easy … which is not so easy if you expect it to behave like vim. – ricardo – 2018-07-03T13:04:44.010
Today I was stuck in insert mode then I realized that mistakenly configured a shortcut on my konsole profile for ESC key... – selmansamet – 2019-08-03T16:00:50.480