18.6.5 Completion

accept-and-menu-complete

In a menu completion, insert the current completion into the buffer, and advance to the next possible completion.

complete-word

Attempt completion on the current word.

delete-char-or-list (^D) (unbound) (unbound)

Delete the character under the cursor. If the cursor is at the end of the line, list possible completions for the current word.

expand-cmd-path

Expand the current command to its full pathname.

expand-or-complete (TAB) (unbound) (TAB)

Attempt shell expansion on the current word. If that fails, attempt completion.

expand-or-complete-prefix

Attempt shell expansion on the current word up to cursor.

expand-history (ESC-space ESC-!) (unbound) (unbound)

Perform history expansion on the edit buffer.

expand-word (^X*) (unbound) (unbound)

Attempt shell expansion on the current word.

list-choices (ESC-^D) (^D =) (^D)

List possible completions for the current word.

list-expand (^Xg ^XG) (^G) (^G)

List the expansion of the current word.

magic-space

Perform history expansion and insert a space into the buffer. This is intended to be bound to space.

menu-complete

Like complete-word, except that menu completion is used. See the MENU_COMPLETE option.

menu-expand-or-complete

Like expand-or-complete, except that menu completion is used.

reverse-menu-complete

Perform menu completion, like menu-complete, except that if a menu completion is already in progress, move to the previous completion rather than the next.

end-of-list

When a previous completion displayed a list below the prompt, this widget can be used to move the prompt below the list.