[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disabling key bindings

From: Jesper Harder
Subject: Re: disabling key bindings
Date: Thu, 27 Nov 2003 15:13:36 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Phillip Lord <> writes:

> I a new major mode, how do I disable all keybindings, except for those
> that I specify. In particular I would want all the normally
> self-insert keys to do nothing at all (except where I have bound the
> explicitly). 

Sounds a bit like Erik Naggums's "poor man's vi-mode":

|     (use-global-map (make-sparse-keymap))
| like vi, it will beep at everything you do, and you can't quit.
| have fun!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]