Copyright (C) 2000-2012 |
GNU Info (zsh.info)MiscellaneousMiscellaneous ------------- accept-and-hold (ESC-A ESC-a) (unbound) (unbound) Push the contents of the buffer on the buffer stack and execute it. accept-and-infer-next-history Execute the contents of the buffer. Then search the history list for a line matching the current one and push the event following onto the buffer stack. accept-line (^J ^M) (^J ^M) (^J ^M) Finish editing the buffer. Normally this causes the buffer to be executed as a shell command. accept-line-and-down-history (^O) (unbound) (unbound) Execute the current line, and push the next history event on the the buffer stack. beep Beep, unless the BEEP option is unset. vi-cmd-mode (^X^V) (unbound) (^[) Enter command mode; that is, select the `vicmd' keymap. Yes, this is bound by default in emacs mode. vi-caps-lock-panic Hang until any lowercase key is pressed. This is for vi users without the mental capacity to keep track of their caps lock key (like the author). clear-screen (^L ESC-^L) (^L) (^L) Clear the screen and redraw the prompt. describe-key-briefly Reads a key sequence, then prints the function bound to that sequence. exchange-point-and-mark (^X^X) (unbound) (unbound) Exchange the cursor position with the position of the mark. execute-named-cmd (ESC-x) (unbound) (unbound) Read the name of an editor command and execute it. A restricted set of editing functions is available in the mini-buffer. An interrupt signal, as defined by the stty setting, will abort the function. The allowed functions are: backward-delete-char, vi-backward-delete-char, clear-screen, redisplay, quoted-insert, vi-quoted-insert, backward-kill-word, vi-backward-kill-word, kill-whole-line, vi-kill-line, backward-kill-line, list-choices, delete-char-or-list, complete-word, accept-line, expand-or-complete and expand-or-complete-prefix. kill-region kills the last word, and vi-cmd-mode is treated the same as accept-line. The space and tab characters, if not bound to one of these functions, will complete the name and then list the possibilities if the AUTO_LIST option is set. Any other character that is not bound to self-insert or self-insert-unmeta will beep and be ignored. The bindings of the current insert mode will be used. execute-last-named-cmd (ESC-z) (unbound) (unbound) Redo the last function executed with execute-named-cmd. get-line (ESC-G ESC-g) (unbound) (unbound) Pop the top line off the buffer stack and insert it at the cursor position. pound-insert (unbound) (#) (unbound) If there is no # character at the beginning of the buffer, add one to the beginning of each line. If there is one, remove a # from each line that has one. In either case, accept the current line. The INTERACTIVE_COMMENTS option must be set for this to have any usefulness. vi-pound-insert If there is no # character at the beginning of the current line, add one. If there is one, remove it. The INTERACTIVE_COMMENTS option must be set for this to have any usefulness. push-input Push the entire current multiline construct onto the buffer stack and return to the top-level (PS1) prompt. If the current parser construct is only a single line, this is exactly like push-line. Next time the editor starts up or is popped with get-line, the construct will be popped off the top of the buffer stack and loaded into the editing buffer. push-line (^Q ESC-Q ESC-q) (unbound) (unbound) Push the current buffer onto the buffer stack and clear the buffer. Next time the editor starts up, the buffer will be popped off the top of the buffer stack and loaded into the editing buffer. push-line-or-edit At the top-level (PS1) prompt, equivalent to push-line. At a secondary (PS2) prompt, move the entire current multiline construct into the editor buffer. The latter is equivalent to push-input followed by get-line. redisplay (unbound) (^R) (^R) Redisplays the edit buffer. send-break (^G ESC-^G) (unbound) (unbound) Abort the current editor function, e.g. execute-named-command, or the editor itself, e.g. if you are in vared. Otherwise abort the parsing of the current line. run-help (ESC-H ESC-h) (unbound) (unbound) Push the buffer onto the buffer stack, and execute the command `run-help CMD', where CMD is the current command. run-help is normally aliased to man. vi-set-buffer (unbound) (") (unbound) Specify a buffer to be used in the following command. There are 35 buffers that can be specified: the 26 `named' buffers "a to "z and the nine `queued' buffers "1 to "9. The named buffers can also be specified as "A to "Z. When a buffer is specified for a cut command, the text being cut replaces the previous contents of the specified buffer. If a named buffer is specified using a capital, the newly cut text is appended to the buffer instead of overwriting it. If no buffer is specified for a cut command, "1 is used, and the contents of "1 to "8 are each shifted along one buffer; the contents of "9 is lost. vi-set-mark (unbound) (m) (unbound) Set the specified mark at the cursor position. set-mark-command (^@) (unbound) (unbound) Set the mark at the cursor position. spell-word (ESC-$ ESC-S ESC-s) (unbound) (unbound) Attempt spelling correction on the current word. undefined-key This command is executed when a key sequence that is not bound to any command is typed. By default it beeps. undo (^_ ^Xu ^X^U) (unbound) (unbound) Incrementally undo the last text modification. redo Incrementally redo undone text modifications. vi-undo-change (unbound) (u) (unbound) Undo the last text modification. If repeated, redo the modification. what-cursor-position (^X=) (unbound) (unbound) Print the character under the cursor, its code as an octal, decimal and hexadecimal number, the current cursor position within the buffer and the column of the cursor in the current line. where-is Read the name of an editor command and and print the listing of key sequences that invoke the specified command. which-command (ESC-?) (unbound) (unbound) Push the buffer onto the buffer stack, and execute the command `which-command CMD'. where CMD is the current command. which-command is normally aliased to WHENCE. vi-digit-or-beginning-of-line (unbound) (0) (unbound) If the last command executed was a digit as part of an argument, continue the argument. Otherwise, execute vi-beginning-of-line. automatically generated by info2www version 1.2.2.9 |