rluserman: Miscellaneous Commands
1
1 1.4.8 Some Miscellaneous Commands
1 ---------------------------------
1
1 're-read-init-file (C-x C-r)'
1 Read in the contents of the INPUTRC file, and incorporate any
1 bindings or variable assignments found there.
1
1 'abort (C-g)'
1 Abort the current editing command and ring the terminal's bell
1 (subject to the setting of 'bell-style').
1
1 'do-uppercase-version (M-a, M-b, M-X, ...)'
1 If the metafied character X is lowercase, run the command that is
1 bound to the corresponding uppercase character.
1
1 'prefix-meta (<ESC>)'
1 Metafy the next character typed. This is for keyboards without a
1 meta key. Typing '<ESC> f' is equivalent to typing 'M-f'.
1
1 'undo (C-_ or C-x C-u)'
1 Incremental undo, separately remembered for each line.
1
1 'revert-line (M-r)'
1 Undo all changes made to this line. This is like executing the
1 'undo' command enough times to get back to the beginning.
1
1 'tilde-expand (M-~)'
1 Perform tilde expansion on the current word.
1
1 'set-mark (C-@)'
1 Set the mark to the point. If a numeric argument is supplied, the
1 mark is set to that position.
1
1 'exchange-point-and-mark (C-x C-x)'
1 Swap the point with the mark. The current cursor position is set
1 to the saved position, and the old cursor position is saved as the
1 mark.
1
1 'character-search (C-])'
1 A character is read and point is moved to the next occurrence of
1 that character. A negative count searches for previous
1 occurrences.
1
1 'character-search-backward (M-C-])'
1 A character is read and point is moved to the previous occurrence
1 of that character. A negative count searches for subsequent
1 occurrences.
1
1 'skip-csi-sequence ()'
1 Read enough characters to consume a multi-key sequence such as
1 those defined for keys like Home and End. Such sequences begin
1 with a Control Sequence Indicator (CSI), usually ESC-[. If this
1 sequence is bound to "\e[", keys producing such sequences will have
1 no effect unless explicitly bound to a readline command, instead of
1 inserting stray characters into the editing buffer. This is
1 unbound by default, but usually bound to ESC-[.
1
1 'insert-comment (M-#)'
1 Without a numeric argument, the value of the 'comment-begin'
1 variable is inserted at the beginning of the current line. If a
1 numeric argument is supplied, this command acts as a toggle: if the
1 characters at the beginning of the line do not match the value of
1 'comment-begin', the value is inserted, otherwise the characters in
1 'comment-begin' are deleted from the beginning of the line. In
1 either case, the line is accepted as if a newline had been typed.
1
1 'dump-functions ()'
1 Print all of the functions and their key bindings to the Readline
1 output stream. If a numeric argument is supplied, the output is
1 formatted in such a way that it can be made part of an INPUTRC
1 file. This command is unbound by default.
1
1 'dump-variables ()'
1 Print all of the settable variables and their values to the
1 Readline output stream. If a numeric argument is supplied, the
1 output is formatted in such a way that it can be made part of an
1 INPUTRC file. This command is unbound by default.
1
1 'dump-macros ()'
1 Print all of the Readline key sequences bound to macros and the
1 strings they output. If a numeric argument is supplied, the output
1 is formatted in such a way that it can be made part of an INPUTRC
1 file. This command is unbound by default.
1
1 'emacs-editing-mode (C-e)'
1 When in 'vi' command mode, this causes a switch to 'emacs' editing
1 mode.
1
1 'vi-editing-mode (M-C-j)'
1 When in 'emacs' editing mode, this causes a switch to 'vi' editing
1 mode.
1