• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/emulation/

Lines Matching +defs:ESC +defs:prefix

42   :prefix "vip-"
187 (define-key vip-mode-map "\e" 'vip-ESC)
379 (define-key vip-insert-local-map "\C-z" 'vip-ESC)
463 ARG is used as the prefix value for the executed command. If
468 (setq prefix-arg arg)
473 (command-execute com prefix-arg)
474 (setq prefix-arg nil) ;; reset prefix arg
485 (defun vip-ESC (arg)
486 "Emulate ESC key in Emacs mode."
507 ;; prefix argument for vi mode
509 ;; In vi mode, prefix argument is a dotted pair (NUM . COM) where NUM
510 ;; represents the numeric value of the prefix argument and COM represents
511 ;; command prefix such as "c", "d", "m" and "y".
513 (defun vip-prefix-arg-value (char value com)
514 "Compute numeric prefix arg value. Invoked by CHAR. VALUE is the value
519 (setq prefix-arg value)
520 (if com (setq prefix-arg (cons prefix-arg com)))
522 (vip-describe-arg prefix-arg)
526 (defun vip-prefix-arg-com (char value com)
527 "Vi operator as prefix argument."
570 ;; com is a single char, so we construct prefix-arg
571 ;; and if char is ?, describe prefix arg, otherwise exit by
574 (setq prefix-arg (cons value com))
576 (vip-describe-arg prefix-arg)
583 (setq prefix-arg (cons value com))
584 (if (= char ?r) (vip-region prefix-arg)
585 (vip-Region prefix-arg))
586 ;; reset prefix-arg
587 (setq prefix-arg nil))
588 ;; otherwise, reset prefix arg and call appropriate command
590 (setq prefix-arg nil)
616 (vip-prefix-arg-value last-command-char nil
623 (vip-prefix-arg-com
638 "Get value part of prefix-argument ARG."
644 "Get value part of prefix-argument ARG."
649 "Get com part of prefix-argument ARG."
655 "Get com part of prefix-argument ARG and modify it."
806 (vip-special-prefix-com (- com 128)))))
821 ;; its prefix value is used as new prefix value for the command.
831 (defun vip-special-prefix-com (char)
1360 used. This behavior is controlled by the sign of prefix numeric value."