Skip to content

Keyboard Shortcuts

Firstp1ck edited this page Apr 17, 2026 · 13 revisions

Keyboard Shortcuts

Quick reference guide for all Pacsea keyboard shortcuts, organized by context and mode.

Related guides:

Quick Reference

Action Shortcut
Help F1 or ?
Fuzzy search Ctrl+F (toggle)
Reload config Ctrl+R
Exit Ctrl+Q
Toggle PKGBUILD Ctrl+X
Toggle Comments Ctrl+T
AUR vote/unvote Ctrl+E (selected AUR package)
Switch panes Tab, ,
Change sort Shift+Tab
Add to queue Space
Install/Confirm Enter
Mark news read r (News mode)
Bookmark news item Space (News mode)

Note: Enter and numpad Enter (keypad Enter) both work for submit/confirm in search, modals, and the password prompt.

Mouse wheel (modal lists): When a modal is open, scrolling inside the System Update checklist, Repositories list, Optional Deps list, or the Updates available list moves the focused row or option (same as ↑/↓ where applicable). Optional Deps [Wizard] still requires a click.


Global Shortcuts

These shortcuts work from anywhere in the application.

Shortcut Action
F1 or ? Open help overlay
Ctrl+F Toggle fuzzy search mode (fzf-style matching)
Ctrl+R Reload configuration (theme, settings, locale)
Ctrl+Q Exit Pacsea
Ctrl+X Toggle PKGBUILD viewer
Ctrl+T Toggle AUR Comments viewer
Tab Switch to next pane
Shift+Tab Change sorting mode (Best matches → AUR popularity → Alphabetical)
Move focus to left pane
Move focus to right pane

Search Pane

The search pane has two modes: Insert mode (default, for typing) and Normal mode (Vim-like navigation).

Insert Mode (Default)

Navigation:

Shortcut Action
Move selection up
Move selection down
PgUp Page up
PgDn Page down

Actions:

Shortcut Action
Space Add selected package to Install list
Enter Install selected package (or confirm Install list if focused)
Ctrl+E Open AUR vote/unvote confirmation for selected AUR package

Text editing:

Shortcut Action
Move cursor left
Move cursor right
Backspace Delete character before cursor
Shift+Del Clear entire search field

Mode switching:

Shortcut Action
Esc Switch to Normal mode
i Switch to Insert mode (from Normal mode)

Normal Mode (Vim-like)

Enter Normal mode by pressing Esc in the search pane. This mode provides efficient navigation and editing without using arrow keys.

Navigation:

Shortcut Action
j Move selection down
k Move selection up
h Extend selection left
l Extend selection right

Editing:

Shortcut Action
d Delete selected text
Shift+Del Clear entire search field

Menu toggles:

Shortcut Action
Shift+C Toggle Config menu
Shift+O Toggle Options menu
Shift+P Toggle Panels menu

Other actions:

Shortcut Action
Shift+S Open Arch status page in browser
Shift+I Import packages list into Install list
Shift+E Export current Install list to file
Ctrl+E Open AUR vote/unvote confirmation for selected AUR package

Mode switching:

Shortcut Action
i Switch to Insert mode
Esc Stay in Normal mode (defocuses if needed)

Mouse — Results title bar: Click repository chips (for example [AUR], [core], [extra], [multilib], and optional badges such as [EOS], [CachyOS], [BlackArch] when present) to toggle which sources appear in the results list. Artix uses a dropdown; other optional official chips are simple on/off toggles. See How to use Pacsea — BlackArch repository.


Recent Pane

Shortcut Action
j or Move selection down
k or Move selection up
Enter Use selected query (loads into search)
Space Add first match from selected query to Install list
d or Del Remove selected query from Recent list
/ Start find/search within Recent pane
Esc Return focus to Search pane
Move focus to Install pane

Find mode (after pressing /):

Shortcut Action
Enter Go to next match
Esc Cancel find mode

Install Pane

Shortcut Action
j or Move selection down
k or Move selection up
Enter Confirm installation of all queued packages
d or Del Remove selected package from Install list
Shift+Del Clear entire Install list
/ Start find/search within Install pane
Esc Return focus to Search pane
Move focus to Recent pane

Find mode (after pressing /):

Shortcut Action
Enter Go to next match
Esc Cancel find mode

News Mode

Shortcut Action
/ or j / k Navigate news items
Enter Open selected news item in browser and load content
Space Bookmark selected news item and cache its content
r Mark selected item as read/unread (toggle) — normal mode only
Ctrl+R Mark all visible items as read — normal mode only
Shift+Tab Cycle through sort modes (date → title → severity → unread status)
Tab / / Move focus between news results, history, and bookmarks panes
Delete Remove selected bookmark (when focused on Bookmarks pane)

Notes:

  • Independent search inputs: News mode and Package mode have separate search fields. Search text is preserved when switching between modes.
  • Mark-as-read behavior: The r and Ctrl+R shortcuts only work in normal mode (not in insert mode), preventing accidental marking when typing 'r' in the search field. This is more consistent with vim-like behavior.
  • Options menu (Shift+O in Normal mode) switches between Package/News modes and includes the news age filter toggle.
  • Panels menu (Shift+P in Normal mode) toggles the News History and Bookmarks panes.
  • Filter chips in the header allow toggling each news source type (Arch news, advisories, updates, AUR comments) with clickable areas.
  • Sorting with Shift+Tab works consistently across all panes and modes (Package and News). The sort menu stays open until you select an option or close it.
  • The change_sort keybind (Shift+Tab) is shown in the help footer in News mode for easy reference.

Announcement Modal

Announcements appear at startup to inform you about important updates, new features, and security information.

Shortcut Action
/ or j / k Scroll announcement content
PageUp / PageDown Scroll by 10 lines
r Mark announcement as read (won't show again)
Enter / Esc / q Dismiss temporarily (shows again on next startup)
Click URL Open URL in browser

Note: Multiple announcements are shown sequentially. Each must be dismissed or marked as read before the next appears. Version announcements always show when you first launch a new version, regardless of the get_announcement setting.


PKGBUILD Viewer

Shortcut Action
Ctrl+X Toggle PKGBUILD viewer
Esc Close PKGBUILD viewer
Mouse wheel Scroll PKGBUILD content
Click "Copy PKGBUILD" Copy PKGBUILD to clipboard (requires wl-clipboard or xclip)

Fetching: PKGBUILD text is loaded asynchronously per package; switching rows cancels stale results so the buffer matches the focused package. See How to use Pacsea — Package Info and PKGBUILD viewer.


AUR Comments Viewer

Shortcut Action
Ctrl+T Toggle AUR Comments viewer
Esc Close Comments viewer
Mouse wheel Scroll comments content
Click "Show comments" / "Hide comments" Toggle comments viewer
Click on URLs Open URL in browser (Ctrl+Shift+click)
Click on author names Open AUR user profile in browser
Click on timestamps Open comment on AUR website in browser

Note: Comments are automatically updated when navigating between AUR packages (if comments are visible). Comments are only available for AUR packages, not official repository packages.


Preflight Modal

When installing AUR packages, the Preflight modal allows you to review dependencies and run security scans.

Shortcut Action
/ Navigate options
Space Toggle selected option
S Open Scan Configuration modal
Enter Confirm and proceed with installation
Esc Cancel and return to main view

AUR vs sync duplicate name: If you queued an AUR result but the same pkgname also appears as a sync/official row in the current results, Pacsea may show a one-shot warning first: Enter continues, Esc / q cancels. See How to use Pacsea — Custom repositories.


Repositories modal

Opened from Options → Repositories (Linux; manages ~/.config/pacsea/repos.conf and /etc/pacman.d/pacsea-repos.conf).

Shortcut Action
Space Toggle enabled for managed [[repo]] rows and apply (same path as Enter where applicable)
Enter Run apply plan (mirrorlists, keys, drop-in, sync; obeys --dry-run)
o Open repos.conf in your editor
r Refresh signing key for selected row (pacman-key, Linux)
s Open in-tree example for setup hints
/ / j / k Move selection
PgUp / PgDn, Home / End Page / jump
Mouse wheel Inside the modal rectangle, move selection up/down (mirrors ↑/↓)
Esc / q Close

Note: Dismissing some other modals (e.g. Preflight) can reopen Repositories with a fresh scan; r here is only for key refresh and does not set that resume behavior.


Foreign overlap wizard (“AUR vs new repository”)

Shown after a successful Repositories apply when foreign (pacman -Qm) package names overlap the new repo’s sync list (Linux).

Shortcut Action
Enter Advance acknowledgements (wait until the apply log indicates completion before confirming)
/ Scroll package list
Esc / q (first step) Close wizard; may disable the repo in repos.conf and re-apply so the drop-in matches
Space (selection step) Toggle which packages to migrate from AUR to repo
y (final step) Confirm and open privileged migrate (pacman -Rns / pacman -S plan)
Esc (later steps) Back out of final confirm to selection

See How to use Pacsea — Custom repositories (overlap wizard subsection).


Scan Configuration Modal

Shortcut Action
/ Navigate scanners
Space Toggle scanner on/off
Enter Run selected scans
Esc Cancel and return to Preflight modal

System Update Dialog

Shortcut Action
/ Navigate update options
Space Toggle selected option
/ / Tab Toggle sync mode on pacman row (Normal ↔ Force Sync)
Enter Execute selected actions
Esc Cancel and return to main view
Mouse wheel Inside the modal, move the checklist cursor up/down

Sync modes (on pacman update row):

  • Normal (-Syu): Standard sync, refreshes only changed databases
  • Force Sync (-Syyu): Force-refreshes all databases (useful after mirror changes)

Updates available modal

Opened from the updates button at the top of the main window (package mode). Shows official and AUR updates with optional multi-select and Preflight handoff.

Shortcut Action
/ / j / k Move selection (within the filtered list)
PgUp / PgDn Page by 10 rows
Ctrl+U / Ctrl+D Page up ~20 / down ~25 rows
Home Jump to first filtered entry
End or G (Shift+g) Jump to last filtered entry
g twice (quickly) Jump to first filtered entry (vim-style gg)
/ Start filter mode on the list; Esc exits filter editing
Space Toggle multi-select mark on the focused row (batch install via Preflight)
a Select all rows currently in the filter
Enter Open Preflight for the focused row, or for all marked rows if any are marked
Esc / q Close modal
Mouse wheel Over the list body, move selection up/down (stays in sync with scroll)

Details and workflows: How to use Pacsea — Updates available.


Optional Deps modal

Opened from Options → Optional Deps.

Shortcut Action
/ / j / k Move selection
Space Toggle batch selection for installable rows (where supported)
Enter Install selected batch, or run the focused row’s action (install tool, open setup wizard, etc.)
Esc / q Close (may continue startup setup flow if applicable)
Mouse wheel Inside the list area, move selection up/down
Click [Wizard] Open the startup setup selector (wheel does not substitute for this)

See How to use Pacsea — TUI Optional Deps.


Normal Mode vs Insert Mode

Pacsea's search pane supports two modes for efficient navigation:

Insert Mode (Default)

  • Purpose: Type search queries
  • Enter: Press Esc to switch to Normal mode
  • Best for: Typing new searches

Normal Mode (Vim-like)

  • Purpose: Navigate and edit without arrow keys
  • Enter: Press Esc in Insert mode
  • Best for: Quick navigation, text selection, and menu access
  • Key features:
    • j/k for up/down navigation
    • h/l for left/right selection
    • d to delete selected text
    • Shift+[C/O/P] for quick menu access
    • Shift+[S/I/E] for advanced actions

Tip: If you're familiar with Vim, Normal mode will feel natural. If not, you can use Insert mode exclusively with arrow keys.


Tips for Efficient Navigation

1. Use Normal Mode for Speed

  • Switch to Normal mode (Esc) for quick navigation
  • Use j/k instead of arrow keys for faster movement
  • Combine h/l with d for quick text deletion

2. Pane Navigation

  • Tab cycles through panes (Search → Recent → Install → Search)
  • / move directly to adjacent panes
  • Use Esc to quickly return focus to Search pane

3. Quick Actions

  • Space + Enter = Quick install (add to queue, then confirm)
  • Shift+Tab = Cycle sorting modes without opening menus
  • Ctrl+X = Quick PKGBUILD preview toggle
  • Ctrl+T = Quick AUR Comments viewer toggle

4. Find Mode

  • Press / in Recent or Install panes to search within lists
  • Useful for long lists of packages or search history

5. Menu Shortcuts (Normal Mode)

  • Shift+C = Config menu (sorting, layout)
  • Shift+O = Options menu (system update, news, optional deps)
  • Shift+P = Panels menu (show/hide panes)

6. Batch Operations

  • Shift+I = Import packages from file
  • Shift+E = Export Install list to file
  • Shift+Del = Clear entire Install list

7. Keyboard-First Workflow

  1. Start typing (Insert mode)
  2. Press Esc to enter Normal mode
  3. Use j/k to navigate results
  4. Press Space to queue packages
  5. Press Tab to switch to Install pane
  6. Press Enter to confirm installation

Customizing Shortcuts

All keyboard shortcuts can be customized in ~/.config/pacsea/keybinds.conf.

Example:

# Change help shortcut to F2
keybind_help = F2

# Change pane switching to Ctrl+Arrow
keybind_pane_left = CTRL+Left
keybind_pane_right = CTRL+Right

See Configuration for complete details on customizing keybinds, including all available keybind options and format.


Common Patterns

Quick Package Install

1. Type package name
2. ↓ to select
3. Space to queue
4. Tab to Install pane
5. Enter to confirm

Review Before Installing

1. Queue packages with Space
2. Tab to Install pane
3. Review queued items
4. Remove unwanted with d
5. Enter to confirm

Normal Mode Workflow

1. Esc (enter Normal mode)
2. j/k to navigate
3. Space to queue
4. Shift+E to export list
5. Enter to install

See Also

Clone this wiki locally