Lines Matching defs:keys
55 ;;; Emacs keys in other states.
57 (defcustom viper-want-emacs-keys-in-insert t
63 (defcustom viper-want-emacs-keys-in-vi t
73 enables cursor keys and is generally more convenient, as terminals usually
133 "Map used when user wants vi-style keys in insert mode.
134 Most of the Emacs keys are suppressed. This map overshadows
161 ;; Some important keys used in viper
259 ;; Tells viper-add-local-keys to create a new viper-vi-local-user-map for new
264 ;; Tells viper-add-local-keys to create a new viper-insert-local-user-map for
269 ;; Tells viper-add-local-keys to create a new viper-emacs-local-user-map for
495 "Keymap used to modify keys when Minibuffer is in Insert state.")
536 (defun viper-add-local-keys (state alist)
545 (viper-add-local-keys state '((key-str . func) (key-str . func)...)) "
565 "Invalid state in viper-add-local-keys: %S. Valid states: vi-state, insert-state or emacs-state" state)))
571 (defun viper-zap-local-keys ()
574 undesirable local keys, e.g., comint-mode, then this function can restore
675 (princ (format "viper-want-emacs-keys-in-vi %S\n"
676 viper-want-emacs-keys-in-vi))
677 (princ (format "viper-want-emacs-keys-in-insert %S\n"
678 viper-want-emacs-keys-in-insert))