Ctrl + @ |
Sets a mark for region selection, useful for text operations like cut or copy. |
Ctrl + A |
Moves the cursor to the beginning of the line. |
Ctrl + B |
Moves the cursor one character to the left. |
Ctrl + D |
Deletes the character under the cursor. If the line is empty, it may list possible completions or exit the shell. |
Ctrl + E |
Moves the cursor to the end of the line. |
Ctrl + F |
Moves the cursor one character to the right. |
Ctrl + G |
Sends a break or interrupt signal, often used to exit from a current operation or command. |
Ctrl + H |
Deletes the character to the left of the cursor. |
Ctrl + I |
Attempts to auto-complete the command or filename being typed. |
Ctrl + J |
Accepts the current line or command (equivalent to pressing Enter). |
Ctrl + K |
Deletes (or "kills") the text from the cursor to the end of the line. |
Ctrl + L |
Clears the screen and redisplay the line. |
Ctrl + M |
Accepts the current line or command (equivalent to pressing Enter). |
Ctrl + N |
Navigates to the next command in the command history. |
Ctrl + O |
Accepts the current line and then displays the next line in history. |
Ctrl + P |
Navigates to the previous command in the command history. |
Ctrl + Q |
Pushes the current line into a buffer for later use. |
Ctrl + R |
Initiates a backward search through the command history. |
Ctrl + S |
Initiates a forward search through the command history. |
Ctrl + T |
Swaps the character under the cursor with the previous one. |
Ctrl + U |
Deletes the text from the cursor to the beginning of the line. |
Ctrl + V |
Allows the next character pressed to be inserted verbatim, especially useful for inserting control characters. |
Ctrl + W |
Deletes the word to the left of the cursor. |
Ctrl + X, Ctrl + B |
Matches and jumps to the corresponding bracket in the command line (useful in vi mode). |
Ctrl + X, Ctrl + E |
Opens the current command line in an editor for more complex editing tasks. |
Ctrl + X, Ctrl + F |
Finds the next character in the line, used in vi command mode. |
Ctrl + X, Ctrl + J |
Joins the current line with the next one, used in vi command mode. |
Ctrl + X, Ctrl + K |
Kills the content of the buffer, effectively clearing it. |
Ctrl + X, Ctrl + N |
Infers and suggests the next command in history based on the current context. |
Ctrl + X, Ctrl + O |
Toggles overwrite mode, where typed characters replace existing ones. |
Ctrl + X, Ctrl + R |
A specific command behavior, might be related to reading or refreshing something. |
Ctrl + X, Ctrl + U |
Undoes the last change made to the line. |
Ctrl + X, Ctrl + V |
Enters the command mode in vi editing mode. |
Ctrl + X, Ctrl + X |
Exchanges the position of the cursor and the mark, useful for text selection. |
Ctrl + X, * |
Expands the current word to show all possible completions. |
Ctrl + X, = |
Displays the current cursor position in terms of row and column. |
Ctrl + X, ? |
Provides debugging information for command completion. |
Ctrl + X, C |
Attempts to correct the filename being typed. |
Ctrl + X, G |
Expands the current word into a list of possible completions. |
Ctrl + X, a |
Expands the current word if it's an alias. |
Ctrl + X, c |
Attempts to correct the word being typed. |
Ctrl + X, d |
Lists all possible expansions of the current word. |
Ctrl + X, e |
Expands the current word, similar to auto-completion. |
Ctrl + X, g |
Expands the current word into a list of possible completions. |
Ctrl + X, h |
Provides help or information about the current completion. |
Ctrl + X, m |
Suggests the most recent file, useful for quickly accessing recently used files. |
Ctrl + X, n |
Suggests the next tags or completions based on context. |
Ctrl + X, r |
Initiates a backward search through the command history. |
Ctrl + X, s |
Initiates a forward search through the command history. |
Ctrl + X, t |
Completes the current word based on available tags. |
Ctrl + X, u |
Undoes the last change made to the line. |
Ctrl + X, ~ |
Provides a list of choices based on bash completion. |
Ctrl + Y |
Pastes (or "yanks") the text from the buffer. |
Alt + Ctrl + D |
Lists all possible completions for the current word or command. |
Alt + Ctrl + G |
Sends a break or interrupt signal, similar to Ctrl + G. |
Alt + Ctrl + H |
Deletes the word to the left of the cursor. |
Alt + Ctrl + I |
Inserts the character without any meta or control modification. |
Alt + Ctrl + J |
Inserts the character without any meta or control modification. |
Alt + Ctrl + L |
Clears the screen, similar to Ctrl + L. |
Alt + Ctrl + M |
Inserts the character without any meta or control modification. |
Alt + Ctrl + _ |
Copies the previous word to the buffer. |
Alt + Space |
Expands the current command based on history. |
Alt + ! |
Expands the current command based on history. |
Alt + " |
Quotes or escapes the selected region, preventing it from being interpreted by the shell. |
Alt + $ |
Checks the spelling of the current word. |
Alt + ' |
Quotes the entire line, preventing it from being interpreted by the shell. |
Alt + , |
Completes the command based on newer entries in history. |
Alt + - |
Used to specify a negative argument for commands that accept numeric arguments. |
Alt + . |
Inserts the last word from the previous command, useful for repeating arguments. |
Alt + / |
Completes the command based on older entries in history. |
Alt + 0-9 |
Used to specify a numeric argument for commands. |
Alt + < |
Moves the cursor to the beginning of the command history. |
Alt + > |
Moves the cursor to the end of the command history. |
Alt + ? |
Displays the command associated with the current keybinding. |
Alt + A |
Accepts the current line and holds it for later, without executing. |
Alt + B |
Moves the cursor one word to the left. |
Alt + C |
Capitalizes the word under the cursor. |
Alt + D |
Deletes the word to the right of the cursor. |
Alt + F |
Moves the cursor one word to the right. |
Alt + G |
Fetches a specific line or command. |
Alt + H |
Displays help or manual page for the current command. |
Alt + L |
Converts the word under the cursor to lowercase. |
Alt + N |
Searches forward in the command history for commands that match the current line. |
Alt + OA |
Moves the cursor up or searches from the beginning of the line. |
Alt + OB |
Moves the cursor down or searches from the beginning of the line. |
Alt + OC |
Moves the cursor one character to the right. |
Alt + OD |
Moves the cursor one character to the left. |
Alt + OF |
Moves the cursor to the end of the line. |
Alt + OH |
Moves the cursor to the beginning of the line. |
Alt + P |
Searches backward in the command history for commands that match the current line. |
Alt + Q |
Pushes the current line into a buffer, similar to Ctrl + Q. |
Alt + S |
Checks the spelling of the current word. |
Alt + T |
Swaps the positions of the current word and the previous word. |
Alt + U |
Converts the word under the cursor to uppercase. |
Alt + W |
Copies the selected region to the buffer. |
Alt + [1;5C] |
Moves the cursor one word to the right. |
Alt + [1;5D] |
Moves the cursor one word to the left. |
Alt + [200~] |
Indicates the start of a bracketed paste, where text is pasted verbatim. |
Alt + [2~] |
Toggles overwrite mode. |
Alt + [3;5~] |
Deletes the word to the right of the cursor. |
Alt + [3~] |
Deletes the character under the cursor. |
Alt + [5~] |
Moves the cursor to the previous line or command in history. |
Alt + [6~] |
Moves the cursor to the next line or command in history. |
Alt + [A] |
Moves the cursor to the previous line or command in history. |
Alt + [B] |
Moves the cursor to the next line or command in history. |
Alt + [C] |
Moves the cursor one character to the right. |
Alt + [D] |
Moves the cursor one character to the left. |
Alt + [Z] |
Reverses the order of menu completion options. |
Alt + _ |
Inserts the last word from the previous command. |
Alt + a |
Accepts the current line and holds it for later, without executing. |
Alt + b |
Moves the cursor one word to the left. |
Alt + c |
Capitalizes the word under the cursor. |
Alt + d |
Deletes the word to the right of the cursor. |
Alt + f |
Moves the cursor one word to the right. |
Alt + g |
Fetches a specific line or command. |
Alt + h |
Displays help or manual page for the current command. |
Alt + l |
Executes the "ls" command, listing directory contents. |
Alt + m |
Copies the previous word from the shell to the buffer. |
Alt + n |
Searches forward in the command history for commands that match the current line. |
Alt + p |
Searches backward in the command history for commands that match the current line. |
Alt + q |
Pushes the current line into a buffer, similar to Ctrl + Q. |
Alt + s |
Checks the spelling of the current word. |
Alt + t |
Swaps the positions of the current word and the previous word. |
Alt + u |
Converts the word under the cursor to uppercase. |
Alt + w |
Deletes the selected region. |
Alt + x |
Executes a specific named command. |
Alt + y |
Rotates through yanked (pasted) text, allowing you to cycle through past clipboard entries. |
Alt + z |
Executes the last specific named command. |
Alt + | |
Moves the cursor to a specific column in vi command mode. |
Alt + ~ |
Completes the current word based on bash's completion system. |
Alt + Ctrl + ? |
Deletes the word to the left of the cursor. |
Ctrl + _ |
Undoes the last change made to the line. |
Space |
Inserts a space character. In some configurations, it might also attempt to auto-complete or perform other "magic" behaviors. |
!-~ |
Represents a range of characters. Pressing any character in this range will insert that character into the command line. |
Ctrl + ? |
Deletes the character to the left of the cursor. |
Alt + Ctrl + @-Alt + Ctrl + ? |
Inserts the character without any meta or control modification. |