From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 13:24:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B04516A4CE for ; Wed, 26 Nov 2003 13:24:34 -0800 (PST) Received: from hornet.wiznet.ca (hornet.wiznet.ca [216.138.223.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EB9143FE9 for ; Wed, 26 Nov 2003 13:24:33 -0800 (PST) (envelope-from willyyam@sillyrabbi.dyndns.org) Received: from sillyrabbi.dyndns.org (H241.C230.tor.velocet.net [216.138.230.241]) by hornet.wiznet.ca (Postfix) with ESMTP id DDC1F31E716; Wed, 26 Nov 2003 16:24:31 -0500 (EST) Received: from willyyam by sillyrabbi.dyndns.org with local (Exim 4.24; FreeBSD) id 1AP79w-000EcE-Ip; Wed, 26 Nov 2003 16:25:16 -0500 Date: Wed, 26 Nov 2003 16:25:16 -0500 From: William O'Higgins To: Khairil Yusof Message-ID: <20031126212516.GA56145@sillyrabbi.dyndns.org> References: <1069873194.1038.36.camel@wolverine.home.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1069873194.1038.36.camel@wolverine.home.net> User-Agent: Mutt/1.4.1i Sender: William O'Higgins cc: freebsd-questions@freebsd.org Subject: Re: vim keyboard mapping problems (ssh) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 21:24:34 -0000 On Thu, Nov 27, 2003 at 02:59:56AM +0800, Khairil Yusof wrote: >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 = A + enter >left cursor = D + enter >right cursor = C + enter >down cursor = B + enter > >home = H >end = F Put this in your .vimrc file: set nocompatible I may have misremembered the command, but it should be in in /usr/share/examples/vimrc, or somewhere very like it. Do a find /usr -name *vimrc* and your should be able to find the settings you need. -- yours, William O'Higgins william.ohiggins@utoronto.ca