Function: ex-unmap
ex-unmap is a byte-compiled function defined in vip.el.gz.
Signature
(ex-unmap)
Documentation
ex unmap
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/vip.el.gz
(defun ex-unmap ()
"ex unmap"
(let (char)
(with-current-buffer " *ex-working-space*"
(skip-chars-forward " \t")
(setq char (char-to-string (following-char)))
(forward-char 1)
(skip-chars-forward " \t")
(if (not (looking-at "[\n|]")) (error "Macro must be a character")))
(if (not (lookup-key ex-map char))
(error "That macro wasn't mapped"))
(define-key vip-mode-map char (lookup-key ex-map char))
(define-key ex-map char nil)))