Commands For Moving
Bindable Readline Commands
Commands For Text
accept-line (Newline, Return)
|
Accept the line regardless of where the cursor is. If this line is non-empty, add it to the history list. If this line was a history line, then restore the history line to its original state. |
previous-history (C-p)
|
Move `up' through the history list. |
next-history (C-n)
|
Move `down' through the history list. |
beginning-of-history (M-<)
|
Move to the first line in the history. |
end-of-history (M->)
|
Move to the end of the input history, i.e., the line currently being entered. |
reverse-search-history (C-r)
|
Search backward starting at the current line and moving `up' through the history as necessary. This is an incremental search. |
forward-search-history (C-s)
|
Search forward starting at the current line and moving `down' through the the history as necessary. This is an incremental search. |
non-incremental-reverse-search-history (M-p)
|
Search backward starting at the current line and moving `up' through the history as necessary using a non-incremental search for a string supplied by the user. |
non-incremental-forward-search-history (M-n)
|
Search forward starting at the current line and moving `down' through the the history as necessary using a non-incremental search for a string supplied by the user. |
history-search-forward ()
|
Search forward through the history for the string of characters between the start of the current line and the current cursor position (the point). This is a non-incremental search. By default, this command is unbound. |
history-search-backward ()
|
Search backward through the history for the string of characters between the start of the current line and the point. This is a non-incremental search. By default, this command is unbound. |
yank-nth-arg (M-C-y)
|
Insert the first argument to the previous command (usually the second word on the previous line). With an argument n, insert the nth word from the previous command (the words in the previous command begin with word 0). A negative argument inserts the nth word from the end of the previous command. |
yank-last-arg (M-., M-_)
|
Insert last argument to the previous command (the last word of the
previous history entry). With an
argument, behave exactly like |