Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 1996 14:29:28 +0000 (GMT)
From:      Gabor Zahemszky <zgabor@CoDe.hu>
To:        korty@physics.purdue.edu
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Extra macros in vi
Message-ID:  <199604101429.OAA03557@CoDe.CoDe.hu>
In-Reply-To: <199604051359.IAA14714@london.physics.purdue.edu> from "Andrew J. Korty" at Apr 5, 96 08:59:17 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Does anyone know how to unmap the extra macros (the arrow keys, Home,
> End, etc.) in vi?  I tried simply :unmap-ping them, but that didn't
> work.  It's not that they're not useful, I just can't stand the pause
> after pressing the escape key.  I suppose I could just shorten
> "keytime", but that's not really a solution ...

1.
I can unmap them: (eg, the up arrow:)
:unmap ^V<up-arrow>
:unmap! ^V<up-arrow>
i) You have to type a CTRL-V before the escape sequence
ii) You have to unmap with the unmap! the ``insert-mode'' version of it, too

2.
Maybe:
:set notimeout
It turns out the waiting, but it's another not so good solution.

-- 
	Gabor Zahemszky <zgabor@CoDe.hu>

-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
Earth is the cradle of human sense, but you can't stay in the cradle forever.
						Tsiolkovsky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604101429.OAA03557>