feat(browser): history controls: Chrome-style Escape, removable suggestions, history view (#31846)

This commit is contained in:
Kelvin Amoaba
2026-10-24 04:46:47 +00:00
committed by GitHub
parent 1753f03e33
commit 5dc197e5ec
38 changed files with 1231 additions and 130 deletions
@@ -276,5 +276,14 @@ export const KEYBINDING_DEFINITION_CORE_2: readonly KeybindingDefinition[] = [
linux: ['Alt+ArrowRight'],
win32: ['Alt+ArrowRight']
}
},
{
id: 'browser.showHistory',
title: 'Show Browser History',
group: 'Browser',
scope: 'browser',
searchKeywords: ['shortcut', 'browser', 'history', 'visited', 'clear'],
// Why Chrome's split: Ctrl+Y is redo (and readline yank) in pages on Linux/Windows.
defaultBindings: { darwin: ['Mod+Y'], linux: ['Mod+H'], win32: ['Mod+H'] }
}
]
+1
View File
@@ -85,6 +85,7 @@ export type KeybindingActionId =
| 'browser.reload'
| 'browser.hardReload'
| 'browser.focusAddressBar'
| 'browser.showHistory'
| 'browser.grabElement'
| 'browser.annotateElement'
| 'editor.find'