Lines Matching +refs:bind +refs:keyseq +refs:if +refs:unbound +refs:in +refs:map
52 acts in the forward direction (e.g., [1mkill-line[22m) causes that command to
53 act in a backward direction. Commands whose behavior with arguments
57 for possible future retrieval ([4myanking[24m). The killed text is saved in a
63 Readline is customized by putting commands in an initialization file
70 in the readline init file. Blank lines are ignored. Lines beginning
92 The syntax for controlling key bindings in the [4minputrc[24m file is simple.
95 fied in one of two ways: as a symbolic key name, possibly with [4mMeta-[24m or
101 of a key spelled out in English. For example:
112 …In the second form, [1m"keyseq"[22m:[4mfunction-name[24m or [4mmacro[24m, [1mkeyseq [2…
113 from [1mkeyname [22mabove in that strings denoting an entire key sequence may
115 Emacs style key escapes can be used, as in the following example, but
153 above are expanded. Backslash will quote any other character in the
160 The [4minputrc[24m file may be edited and re-read if a program does not pro-
165 ior. A variable may be set in the [4minputrc[24m file with a statement of the
179 [1mvisible[22m, readline uses a visible bell if one is available. If
182 If set to [1mOn [22m(the default), readline attempts to bind the con-
199 The string that is inserted in [1mvi [22mmode when the [1minsert-comment[0m
204 when performing completion. The value is ignored if it is less
210 in a case-insensitive fashion.
211 [1mcompletion-map-case (Off)[0m
216 The length in characters of the common prefix of a list of pos-
233 prefixing it with an escape character (in effect, using escape
235 it to [4mOff[24m if the locale contains eight-bit characters.
238 characters will be inserted into the line as if they had been
249 If the [4mshow-mode-in-prompt[24m variable is enabled, this string is
258 When set to [1mOn[22m, readline will configure the terminal in a way
261 acter as if it had been read from the keyboard. This can pre-
280 Set the maximum number of history entries saved in the history
295 will not clear the eighth bit in the characters it reads), re-
298 but readline will set it to [4mOn[24m if the locale contains eight-bit
318 complete key sequence. The value is specified in milliseconds,
337 supplied by the user in the filename to be completed.
345 The default is [4mOff[24m, but readline will set it to [4mOn[24m if the locale
352 sorted horizontally in alphabetical order, rather than down the
359 [1mshow-all-if-ambiguous (Off)[0m
364 [1mshow-all-if-unmodified (Off)[0m
365 This alters the default behavior of the completion functions in
366 a fashion similar to [1mshow-all-if-ambiguous[22m. If set to [1mOn[22m, words
369 common prefix) cause the matches to be listed immediately in-
371 [1mshow-mode-in-prompt (Off)[0m
378 performing completion in the middle of a word. If enabled,
380 match characters after point in the word being completed, so
383 If the [4mshow-mode-in-prompt[24m variable is enabled, this string is
385 when vi editing mode is active and in command mode. The value
392 If the [4mshow-mode-in-prompt[24m variable is enabled, this string is
394 when vi editing mode is active and in insertion mode. The value
406 Readline implements a facility similar in spirit to the conditional
411 [1m$if [22mThe [1m$if [22mconstruct allows bindings to be made based on the edit-
417 … [1mmode [22mThe [1mmode= [22mform of the [1m$if [22mdirective is used to test
418 whether readline is in emacs or vi mode. This may be
419 used in conjunction with the [1mset keymap [22mcommand, for in-
420 stance, to set bindings in the [4memacs-standard[24m and [4memacs-[0m
421 [4mctlx[24m keymaps only if readline is starting out in emacs
425 key bindings, perhaps to bind the key sequences output by
429 … This allows [4msun[24m to match both [4msun[24m and [4msun-cmd[24m, for in-
449 to bind key sequences to functions useful for a specific
451 sequence that quotes the current or previous word in
454 [1m$if [22mBash
469 [1m$endif [22mThis command, as seen in the previous example, terminates an [1m$if[0m
472 [1m$else [22mCommands in this branch of the [1m$if [22mdirective are executed if the
491 needed to find the desired history entry. To search backward in the
493 through the history. The characters present in the value of the
501 To find other matching entries in the history list, type [1mC-s [22mor [1mC-r [22mas
502 appropriate. This will search backward or forward in the history for
517 panying key sequence are unbound by default.
542 effect if the current Readline line does not take up more than
543 one physical line or if point is not greater than the length of
548 if the current Readline line does not take up more than one
549 physical line or if the length of the current Readline line is
552 Clear the screen and, if possible, the terminal's scrollback
569 Fetch the previous command from the history list, moving back in
572 Fetch the next command from the history list, moving forward in
575 Move to the first line in the history.
607 sition (the [4mpoint[24m). The search string may match anywhere in a
612 string may match anywhere in a history line. This is a non-in-
617 insert the [4mn[24mth word from the previous command (the words in the
618 previous command begin with word 0). A negative argument in-
620 the argument [4mn[24m is computed, the argument is extracted as if the
628 line in turn. Any numeric argument supplied to these successive
632 extract the last argument, as if the "!$" history expansion had
636 if a newline had been entered, and fetch the next line relative
638 gument, if supplied, specifies the history entry to use instead
656 the end of the line, in which case the character behind the cur-
688 to [4mreadline()[24m starts in insert mode. In overwrite mode, charac-
692 space. By default, this command is unbound.
706 Kill from point the end of the current word, or if between
725 Copy the text in the region to the kill buffer.
747 meric argument, but is otherwise ignored. As a special case, if
760 (if the text begins with [1m$[22m), username (if the text begins with
761 [1m~[22m), hostname (if the text begins with [1m@[22m), or command (including
762 aliases and functions) in turn. If none of these produces a
770 of the environment variable [1mCOLUMNS[22m, or the screen width, in
779 completions, inserting each match in turn. At the end of the
782 moves [4mn[24m positions forward in the list of matches; a negative ar-
784 mand is intended to be bound to [1mTAB[22m, but is unbound by default.
787 of possible completions, as if [1mmenu-complete [22mhad been given a
788 negative argument. This command is unbound by default.
790 Deletes the character under the cursor if not at the beginning
803 acters in the macro appear as if typed at the keyboard.
805 Print the last keyboard macro defined in a format suitable for
810 Read in the contents of the [4minputrc[24m file, and incorporate any
818 behavior is undefined if [4mx[24m is already lowercase.
851 This is unbound by default, but usually bound to ESC-[.
856 toggle: if the characters at the beginning of the line do not
858 wise the characters in [1mcomment-begin [22mare deleted from the begin-
859 ning of the line. In either case, the line is accepted as if a
867 put is formatted in such a way that it can be made part of an
872 output is formatted in such a way that it can be made part of an
877 output is formatted in such a way that it can be made part of an
880 When in [1mvi [22mcommand mode, this causes a switch to [1memacs [22mediting
883 When in [1memacs [22mediting mode, this causes a switch to [1mvi [22mediting
890 mentioned in the list of emacs standard bindings are bound to the
896 same function in the emacs mode meta keymap. The remaining characters
897 are unbound, which causes readline to ring the bell (subject to the
1112 If you find a bug in [1mreadline, [22myou should report it. But first, you
1113 should make sure that it really is a bug, and that it appears in the