Function: viper-zap-local-keys

viper-zap-local-keys is an interactive and byte-compiled function defined in viper-keym.el.gz.

Signature

(viper-zap-local-keys)

Documentation

Unconditionally reset Viper viper-*-local-user-map's.

Rarely useful, but if you made a mistake by switching to a mode that adds undesirable local keys, e.g., comint-mode, then this function can restore sanity.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emulation/viper-keym.el.gz
(defun viper-zap-local-keys ()
  "Unconditionally reset Viper viper-*-local-user-map's.
Rarely useful, but if you made a mistake by switching to a mode that adds
undesirable local keys, e.g., `comint-mode', then this function can restore
sanity."
  (interactive)
  (setq viper-vi-local-user-map (make-sparse-keymap)
	viper-need-new-vi-local-map nil
	viper-insert-local-user-map (make-sparse-keymap)
	viper-need-new-insert-local-map nil
	viper-emacs-local-user-map (make-sparse-keymap)
	viper-need-new-emacs-local-map nil)
  (viper-normalize-minor-mode-map-alist))