help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Disabling all keybindings - How?


From: Jesper Harder
Subject: Re: Disabling all keybindings - How?
Date: Fri, 11 Oct 2002 16:42:24 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu)

Klaus Berndl <Klaus.Berndl@sdm.de> writes:

> OK, now my question: How to disable all Emacs-keybindings for my new
> major-mode? Is this possible with one command?

You probably want `make-sparse-keymap'.  And now for a bit of fun --
Erik Naggum's poor man's vi-mode:

| e.g., you can do this to get into "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]