View Full Version : ESCAPE key not working in Vim
NeilFord
06-29-2006, 05:23 PM
HAve hit a problem using Vim-Tiny, it seems to not want to recognise the Escape key, which is a bit of a bind when you want to save a file.
I don't believe it's a hardware problem as the key works fine elsewhere, just apparently not in Vim.
Has anyone experienced this before of got any ideas?
Machine is running the updated 2005 OS and Vim-Tiny was downloaded and installed this evening.
- Neil.
aflegg
06-30-2006, 06:34 AM
Which Xterm are you using? There's a version which changes the escape key into being a meta-key which needs to be pressed twice to pass through "Escape" itself.
NeilFord
06-30-2006, 02:21 PM
I'm running xterm from http://770.fs-security.com/xterm/
And I just realised something really wierd is going on. Pressing escape takes Vim out of Insert mode, but no matter how many times I press it, refuses to bring up command mode.
- Neil
aflegg
06-30-2006, 05:04 PM
Err, command mode proper'll only come up when you press ':', of course...
NeilFord
06-30-2006, 06:46 PM
Umm... you see that corner over there? I'll be standing in it if that's okay :)
It's amazing how something you do instinctivly on a regular keyboard just leaves you when you use a new device.
Thanks for all your help.
- Neil.
(guess who just typed :wq after typing his name! :) )
aflegg
07-01-2006, 03:58 AM
:-)
Glad I could help...
geneven
02-23-2007, 07:24 PM
I don't get it! I know about :, but where is the escape key anyway? And don't tel me it's right next to the anykey!
TitaniumRat
02-23-2007, 07:50 PM
it's the circle with the arrow. on the n800 at least.
geneven
02-23-2007, 08:32 PM
Thank you very much, but I don't see a circle with an arrow. I am using the N800, in xterm, running VIM. The closest to that I see is the at sign, the copyright sign, and the circle-r sign. I've looked at the Common keys, the Symbols, the Accents a-m and the Accents n-z.
TitaniumRat
02-24-2007, 12:17 AM
ah, sorry... I meant the button on the side of the N800 with the half-circle arrow corresponds to escape on the keyboard.
all the buttons are keyboard keys. + = F7, - = F8, the one in the middle of them is F6, the power button is Execute, the house is F5, the menu is F4, the center button is return and the up, down, left and right are all the same as the corresponding arrow keys on the keyboard.
-----
EDIT: typos.
geneven
02-24-2007, 04:49 AM
Oh, ok, thanks!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.