From owner-freebsd-questions Mon Apr 20 08:14:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11362 for freebsd-questions-outgoing; Mon, 20 Apr 1998 08:14:36 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from TRUTH.WOFFORD.EDU (truth.wofford.edu [199.190.174.30]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA11251 for ; Mon, 20 Apr 1998 15:14:04 GMT (envelope-from WELCHDW@TRUTH.WOFFORD.EDU) Date: Mon, 20 Apr 1998 11:14:01 -0400 From: Dan Welch To: QUESTIONS@FreeBSD.ORG CC: WELCHDW@truth.wofford.edu Message-Id: <980420111401.20200ef0@mail.wofford.edu> Subject: unmapping function keys in vi Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A difficulty arises when I want to do a manual ":so exrc" in a local directory to override earlier definitions. The substitution definition sequence (unmap, then map) fails. For example, once function key 2 has been mapped using the ":map #2 do_stuff" command, unmapping via ":unmap #2" fails. In place of "#2" to identify the function key, I have been using ^V followed by pressing the actual F2 function key in the ":unmap" command sequence, i.e., providing the F2 key literally. Should not ":unmap #2" work as well? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message