Date: Thu, 27 Nov 2003 02:59:56 +0800 From: Khairil Yusof <kaeru@pd.jaring.my> To: freebsd-questions@freebsd.org Subject: vim keyboard mapping problems (ssh) Message-ID: <1069873194.1038.36.camel@wolverine.home.net>
next in thread | raw e-mail | index | archive | help
--=-vMPUGHJpEGOAbeTdBbc2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I couldn't figure why I'm having this problem. If anybody knows why my keyboard mappings are off, I'd really appreciate it. On my main machine, everything works just fine (tab, cursor keys, home, end) in both insert/command mode. I've recently built a simple FreeBSD 5.1 web server. The problem I have is that vim built on this machine seems to get different keyboard mappings from somewhere. Env: ssh from gnome-terminal, TERM=3Dxterm Symptoms: bash: everything works just fine (home,end,cursor keys,tab) nvi : everything works just fine (home,end,cursor keys,tab) vim (command mode): home,end,cursor keys work, but tab doesn't work for commands. tab key displays ^I instead. vim (insert mode): up cursor =3D A + enter left cursor =3D D + enter right cursor =3D C + enter down cursor =3D B + enter home =3D H end =3D F Additional note: If I ssh back to my main machine from this server, the vim on my machine doesn't not have the same behaviour. I'm stuck, any help/explanation would be much appreciated. -- FreeBSD 5.2-BETA i386=20 2:23am up 4:04, 1 user, load averages: 1.02, 0.57, 0.46 --=-vMPUGHJpEGOAbeTdBbc2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/xPgqDAqnLW/+/X8RAqprAKCfamNUyGOKPYbnXKEkGJ8TtAAeUACdEe7J 3O4UIFBa5+jUcGAAE33+V+4= =L0Js -----END PGP SIGNATURE----- --=-vMPUGHJpEGOAbeTdBbc2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1069873194.1038.36.camel>