The Church of Emacs

Poor man's vi-mode

From: Erik Naggum <erik@naggum.no>
Newsgroups: gnu.emacs.help,comp.emacs
Date: 25 Jul 1996 00:38:58 +0000
Organization: Dept. of Informatics, University of Oslo, Norway
X-Newsreader: Gnus v5.3/Emacs 19.32
Path: ssv2.dina.kvl.dk!news.uni-c.dk!newsfeed.sunet.se!news00.sunet.se!sunic!mn6.swip.net!plug.news.pipex.net!pipex!hole.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.mathworks.com!hunter.premier.net!news.cais.net!nntp.uio.no!ifi.uio.no!usenet
Lines: 23
Message-ID: <3047243938144746@arcana.naggum.no>
References: <4t5gf9$rkh@gw.home.vix.com> <uahgqxilbw.fsf@isip02.isip.msstate.edu> <phadke-2407960908430001@news.hawaii.edu>
NNTP-Posting-Host: naggum.no
Xref: ssv2.dina.kvl.dk gnu.emacs.help:38359 comp.emacs:28831

[ deleted  - pa ]

you can change the global-map with the function `use-global-map', even if
this is probably a very bad idea.  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!

#\Erik

Author: Per Abrahamsen (abraham@dina.kvl.dk)

Modification date: 2013-01-04

Generated by Emacs 24.3.3 (Org mode 8.2.5h)