File: evil-ex.el.html

Ex is implemented as an extensible minilanguage, whose grammar is stored in evil-ex-grammar. Ex commands are defined with evil-ex-define-cmd, which creates a binding from a string to an interactive function. It is also possible to define key sequences which execute a command immediately when entered: such shortcuts go in evil-ex-shortcut-map.

To provide buffer and filename completion, as well as interactive feedback, Ex defines the concept of an argument handler, specified with evil-ex-define-argument-type. In the case of the substitution command (":s/foo/bar"), the handler incrementally highlights matches in the buffer as the substitution is typed.

Defined variables (8)

evil--ex-argument-handler
evil--ex-cmd
evil--ex-echo-overlay
evil--ex-shell-argument-initialized
evil--ex-shortcut-command
evil-ex-argument-types
evil-ex-commands
evil-ex-reverse-range

Defined functions (38)

evil--ex-bang-p
evil--ex-remove-echo-overlay
evil--ex-syntactic-context
evil--ex-update
evil-completion-table-concat
evil-ex
evil-ex-argument-completion-at-point
evil-ex-argument-handler-completer--cmacro
evil-ex-argument-handler-runner
evil-ex-argument-handler-runner--cmacro
evil-ex-call-command
evil-ex-char-marker-range
evil-ex-command-completion-at-point
evil-ex-command-force-p
evil-ex-completed-binding
evil-ex-completion
evil-ex-completion-at-point
evil-ex-current-line
evil-ex-define-cmd
evil-ex-delete-backward-char
evil-ex-echo
evil-ex-elisp-completion-at-point
evil-ex-execute
evil-ex-file-arg
evil-ex-first-line
evil-ex-full-range
evil-ex-init-shell-argument-completion
evil-ex-line
evil-ex-marker
evil-ex-p
evil-ex-parse
evil-ex-range
evil-ex-re-bwd
evil-ex-replace-special-filenames
evil-ex-setup
evil-ex-signed-number
evil-ex-sort-completions
evil-ex-teardown

Defined faces (0)