Skip to content

feat: add commandline history with q: keymapping - #373

Open
suveshmoza wants to merge 4 commits into
glide-browser:mainfrom
suveshmoza:feat/commandline-history
Open

suveshmoza wants to merge 4 commits into
glide-browser:mainfrom
suveshmoza:feat/commandline-history

Conversation

@suveshmoza

@suveshmoza suveshmoza commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Closes #176

  • Added command_history_max_entries to Glide options with default value set to 100
  • Implemented CommandHistoryStore using JSONFile.
    • The history is persisted at .glide/command_history.json under profileDir. Each profile get its own command history.
    • Preloaded at startup, persisted across config reloads and browser restarts
    • Running a previously executed command moves it to top
  • Added CommandHistoryCompletionSource. Wired commandline_history/q:
    • Blocked on Private windows, shows a helper text Command history is not available in private browsing
  • Added commandline_history_clear excmd to reset commandline history.
  • Updated docs

Demo

glide-command-history-demo.mov

Private Window
Screenshot 2026-10-28 at 01 16 42

Todo:

  • Clear history
  • Tests
  • Docs

Signed-off-by: Suvesh Moza <hellosuvesh@gmail.com>
Signed-off-by: Suvesh Moza <hellosuvesh@gmail.com>
@suveshmoza
suveshmoza force-pushed the feat/commandline-history branch from bf6e8b7 to 4ae222b Compare October 28, 2026 21:04
@suveshmoza
suveshmoza marked this pull request as ready for review October 28, 2026 21:08

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add q: keymapping to view command history

1 participant