Figure 18.1: Key Bindings
This master switch will make BashStyle-NG adjust the Key Bindings for
readline.
complete-pathFor the string the cursor currently is at, use which to complete
it’s file path
list-keyslist all currently bound commands and their key binding
plocateFor the string the cursor currently is at, use plocate to search for it
plocate-filelike plocate Key Binding, but explicitely only searches for the basename
(filename, no directory name)
rerun-rootrerun the previous command as root
undoUndo the last editing command. Remembered separately for each line.
upcase_wordUppercase the current or next word.
capitalize_wordCapitalize the current or next word.
downcase_wordLowercase the current or next word.
transpose_wordsDrag the word before point past the word after point, moving point past that word.
transpose_charsDrag the character before point forward over the character at point, moving point forward as well.
unix_word_ruboutKill the word behind point, using whitespace as a word boundary.
kill_wordKill from point to the end of the current word, or if between words, to the end of the next word.
possible_filename_completionsList the possible completions for the text before point as a filename.
possible_hostname_completionsList the possible completions for the text before point as a hostname.
possible_username_completionsList the possible completions for the text before point as a username.
possible_variable_completionsList the possible completions for the text before point as a shell variable.
kill_lineKill the text from point to the end of the line.
unix_line_discardKill backward from point to the beginning of the line.
beginning_of_lineMove to the start of the current line.
end_of_lineMove to the end of the line.
clear_screenClear the screen, leaving the current line at the top of the screen.
history_search_forwardSearch forward through the history for the string of characters between the start of the current line and point.
history_search_backwardSearch backward through the history for the string of characters between the start of the current line and point.
menu_completeSimilar to complete, but replaces the word to be completed with a single match from the list of possible completions.
alias_expand_lineExpand any aliases on the current line.
backward_charMove back one character.
backward_wordMove back to the start of the current or previous word.
backward_delete_charDelete the character behind the cursor.
delete_charDelete the character at point.
copy_backward_wordCopy the word before point to the kill buffer without deleting it.
copy_forward_wordCopy the word after point to the kill buffer without deleting it.
forward_charMove forward one character.
forward_wordMove forward to the end of the next word.
overwrite_modeToggle overwrite mode.
menu_complete_backwardIdentical to menu_complete, but moves backward through the list of possible completions.
backward_kill_lineKill backward from point to the beginning of the line.
next_screen_lineMove the cursor to the next physical screen line, if the current logical line wraps.
previous_screen_lineMove the cursor to the previous physical screen line, if the current logical line wraps.
spell_correct_wordPerform spelling correction on the current word.
fetch_historyFetch the history line specified by the current numeric argument.
rl_clear_displayClear the screen and the scrollback buffer entirely.