Execute commands and navigate Glide using the command line
Glide Browser includes a powerful command line interface for executing commands, similar to Vim’s ex command mode. Access it by pressing : in normal mode.
:tab <index> # Switch to tab at index:tab_new [url] # Create new tab with optional URL:tab_close # Close the current tab:tab_next # Switch to next tab:tab_prev # Switch to previous tab
:hint # Show hints for clickable elements:hint --action=newtab-click # Open hinted link in new tab:hint --location=browser-ui # Show hints for browser UI elements:hint -e # Show hints for editable elements only:hint -s "selector" # Show hints for CSS selector:hint --include "selector" # Also include elements matching selector:hint --auto # Auto-activate if only one hint:hints_remove # Remove all hints and exit hint mode
:url_yank # Yank current URL to clipboard:copy # Copy from active notification to clipboard:visual_selection_copy # Copy selected text and return to normal mode
:config_edit # Open config file in default editor:config_path # Show the config file path:config_reload # Reload the config file:config_init [location] # Initialize new config
Init locations: home, profile, cwd
:set <name> <value> # Set an option:profile_dir # Show current profile directory
:map # Show all mappings:unmap <lhs> # Remove mapping from normal mode:nunmap <lhs> # Remove mapping from normal mode:iunmap <lhs> # Remove mapping from insert mode
:quit # Close all windows:clear # Clear all notifications:echo <args> # Log arguments to console:keys <keyseq> # Synthesize key sequence:repeat # Repeat last invoked command
Each command in the registry has these properties:
name - Command name (used after :)
description - Human-readable description
content - Whether command runs in content process
repeatable - Whether command can be repeated with .
args_schema - Optional argument validation schema
All built-in ex commands are defined in browser-excmds-registry.mts:66-467. Commands marked with content: true are executed in the page content process.