mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
Remove unused rewind key binding (#16659)
This commit is contained in:
committed by
GitHub
parent
6021e4c3ba
commit
5ed275ce39
@@ -64,7 +64,6 @@ available combinations.
|
|||||||
| Start reverse search through history. | `Ctrl + R` |
|
| Start reverse search through history. | `Ctrl + R` |
|
||||||
| Submit the selected reverse-search match. | `Enter (no Ctrl)` |
|
| Submit the selected reverse-search match. | `Enter (no Ctrl)` |
|
||||||
| Accept a suggestion while reverse searching. | `Tab` |
|
| Accept a suggestion while reverse searching. | `Tab` |
|
||||||
| Browse and rewind previous interactions. | `Esc (×2)` |
|
|
||||||
|
|
||||||
#### Navigation
|
#### Navigation
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,6 @@ export enum Command {
|
|||||||
QUIT = 'quit',
|
QUIT = 'quit',
|
||||||
EXIT = 'exit',
|
EXIT = 'exit',
|
||||||
SHOW_MORE_LINES = 'showMoreLines',
|
SHOW_MORE_LINES = 'showMoreLines',
|
||||||
REWIND = 'rewind',
|
|
||||||
|
|
||||||
// Shell commands
|
// Shell commands
|
||||||
REVERSE_SEARCH = 'reverseSearch',
|
REVERSE_SEARCH = 'reverseSearch',
|
||||||
@@ -255,7 +254,6 @@ export const defaultKeyBindings: KeyBindingConfig = {
|
|||||||
// Suggestion expansion
|
// Suggestion expansion
|
||||||
[Command.EXPAND_SUGGESTION]: [{ key: 'right' }],
|
[Command.EXPAND_SUGGESTION]: [{ key: 'right' }],
|
||||||
[Command.COLLAPSE_SUGGESTION]: [{ key: 'left' }],
|
[Command.COLLAPSE_SUGGESTION]: [{ key: 'left' }],
|
||||||
[Command.REWIND]: [{ key: 'Esc (×2)' }],
|
|
||||||
};
|
};
|
||||||
|
|
||||||
interface CommandCategory {
|
interface CommandCategory {
|
||||||
@@ -319,7 +317,6 @@ export const commandCategories: readonly CommandCategory[] = [
|
|||||||
Command.REVERSE_SEARCH,
|
Command.REVERSE_SEARCH,
|
||||||
Command.SUBMIT_REVERSE_SEARCH,
|
Command.SUBMIT_REVERSE_SEARCH,
|
||||||
Command.ACCEPT_SUGGESTION_REVERSE_SEARCH,
|
Command.ACCEPT_SUGGESTION_REVERSE_SEARCH,
|
||||||
Command.REWIND,
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -432,5 +429,4 @@ export const commandDescriptions: Readonly<Record<Command, string>> = {
|
|||||||
[Command.UNFOCUS_SHELL_INPUT]: 'Focus the Gemini input from the shell input.',
|
[Command.UNFOCUS_SHELL_INPUT]: 'Focus the Gemini input from the shell input.',
|
||||||
[Command.EXPAND_SUGGESTION]: 'Expand an inline suggestion.',
|
[Command.EXPAND_SUGGESTION]: 'Expand an inline suggestion.',
|
||||||
[Command.COLLAPSE_SUGGESTION]: 'Collapse an inline suggestion.',
|
[Command.COLLAPSE_SUGGESTION]: 'Collapse an inline suggestion.',
|
||||||
[Command.REWIND]: 'Browse and rewind previous interactions.',
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user