Skip to content

Introduction

The way that Peplum works can be configured using a configuration file. This section will describe what can be configured and how.

The location of the configuration file will depend on how your operating system and its settings; but by default it is looked for in $XDG_CONFIG_HOME, in a peplum subdirectory. Mostly this will translate to the file being called ~/.config/peplum/configuration.json.

Keyboard bindings

Peplum allows for a degree of configuration of its keyboard bindings; providing a method for setting up replacement bindings for the commands that appear in the command palette.

Bindable commands

The following commands can have their keyboard bindings set:

  • ChangeTheme - Change the application's theme
    • Default: f9
  • EditNotes - Edit the highlighted PEP's notes
    • Default: f2
  • Escape - Back up through the panes, right to left, or exit the app if the navigation pane has focus
    • Default: escape
  • FindPEP - Find and jump to a specific PEP
    • Default: p
  • Help - Show help for and information about the application
    • Default: f1, ?
  • Quit - Quit the application
    • Default: f10, ctrl+q
  • RedownloadPEPs - Redownload the list of PEPs
    • Default: ctrl+r
  • Search - Search for text anywhere in the PEPs
    • Default: /
  • SearchAuthor - Search for an author then filter by them
    • Default: u
  • SearchPythonVersion - Search for a Python version and then filter by it
    • Default: v
  • SearchStatus - Search for a PEP status and then filter by it
    • Default: s
  • SearchType - Search for a PEP type and then filter by it
    • Default: t
  • ShowAll - Clear any filters and show all PEPs
    • Default: a
  • SortByCreated - Sort PEPs by their created date
    • Default: 2
  • SortByNumber - Sort PEPs by their number
    • Default: 1
  • SortByTitle - Sort PEPs by their title
    • Default: 3
  • ToggleAuthorsSortOrder - Toggle the sort order of the authors in the navigation panel
    • Default: A
  • TogglePEPDetails - Toggle the display of the PEP details panel
    • Default: f3
  • TogglePythonVersionsSortOrder - Toggle the sort order of Python versions in the navigation panel
    • Default: V
  • ToggleSortOrder - Toggle the current sort order
    • Default: minus
  • ToggleStatusesSortOrder - Toggle the sort order of the statuses in the navigation panel
    • Default: S
  • ToggleTypesSortOrder - Toggle the sort order of types in the navigation panel
    • Default: T
  • ViewPEP - View the source of the currently-highlighted PEP
    • Default: f4

Changing a binding

If you wish to change the binding for a command, edit the configuration file and add the binding to the bindings value. For example, if you wanted to change the binding used to View the text of a PEP, changing it from F4 to ctrl+v, and you also wanted to use F5 to redownload the PEP data, you would set bindings to this:

"bindings": {
    "ViewPEP": "ctrl+v",
    "RedownloadPEPs": "f5"
}

The designations used for keys is based on the internal system used by Textual; as such its caveats about what works where apply. The main modifier keys to know are shift, ctrl, alt, meta, super and hyper; letter keys are their own letters; shifted letter keys are their upper-case versions; function keys are simply f1, f2, etc; symbol keys (the likes of #, @, *, etc...) generally use a name (number_sign, at, asterisk, etc...).

Tip

If you want to test and discover all of the key names and combinations that will work, you may want to install textual-dev and use the textual keys command.

If you need help with keyboard bindings please feel free to ask.

Theme

Peplum has a number of themes available. You can select a theme using the Change Theme (ChangeTheme, bound to F9 by default) command. The available themes include:

  • atom-one-dark
  • atom-one-light
  • catppuccin-frappe
  • catppuccin-latte
  • catppuccin-macchiato
  • catppuccin-mocha
  • dracula
  • flexoki
  • gruvbox
  • monokai
  • nord
  • rose-pine
  • rose-pine-dawn
  • rose-pine-moon
  • solarized-dark
  • solarized-light
  • textual-dark
  • textual-light
  • tokyo-night

Tip

You can also set the theme via the command line. This can be useful if you want to ensure that Peplum runs up with a specific theme. Note that this also configures the theme for future runs of Peplum.

Here's a sample of some of the themes:

textual-light Peplum v1.1.0 — All; Sorted by Date Created (reversed) (747) │All [a]747│851Add list.discard()    Standards Track, Draft│Title ││Stan Ulbrych2026-10-27│Add list.discard() │─────── Type ───────│────────────────────────────────────────────────────────│ │Standards Track  588▆│850Wheel Variants:       Standards Track, Draft│Author │Informational    106│Providers             │Stan Ulbrych │Process           53│Michał Górny, Jonathan Dekhtiar, 2026-10-15│ ││Konstantin Schütze, Ralf Gommers│Discussions To │────── Status ──────│────────────────────────────────────────────────────────│https://discuss.python.org/t/pep-85 │Final            375│823None-aware access     Standards Track, Draft│ │Rejected         132│operators             │Status │Withdrawn         74│Marc Mueller2026-09-20│Draft │Draft             56│────────────────────────────────────────────────────────│ │Active            38│824None-coalescing       Standards Track, Draft│Type │Deferred          35│operators             │Standards Track │Superseded        25│Marc Mueller2026-09-20│ │Accepted          11│────────────────────────────────────────────────────────│Created │Provisional        1│849More Expressive Type  Standards Track, Draft│2026-10-27 (2 days ago) ││Expressions           │ │── Python Version ──│Imogen Hergeth2026-09-20│Python Version │None218│────────────────────────────────────────────────────────│3.16 │1.6                1│848Generational          Standards Track, Draft│ │2.0                9│Incremental Garbage   │Post History │2.1               25│Collection            │2025-10-12 (1 year, 1 month ago) 🔗 │2.2               24│Mark Shannon2026-09-16│2026-10-27 (2 days ago) 🔗 │2.3               26│────────────────────────────────────────────────────────│ │2.4               18│846Docstrings for Type   Standards Track, Draft│URL │2.5               24│Aliases               │https://peps.python.org/pep-0851/ │2.6               16│Bartosz Sławecki2026-09-06│ │2.7               12│────────────────────────────────────────────────────────│ │2.7.9              2│845Leading-Dot Value     Standards Track, Draft│ │2.7.12             1│Patterns              │ │2.8                1│Thomas Kehrenberg, Marc Mueller2026-08-25│ │2.x                1│────────────────────────────────────────────────────────│ │3.0               46│847Problem Details for   Standards Track, Draft│ │3.1                6│the Simple Repository │ │3.2               12│API                   │ │3.3               29│Luis Gonzalez, William Woodruff, Zsolt 2026-08-06│ │3.4               22│Dollenstein│  f1 Help  f2 Notes  f3 Details  f4 View  f10 Quit  ^r Redownload ▏^p Commands

nord Peplum v1.1.0 — All; Sorted by Date Created (reversed) (747) │All [a]747│851Add list.discard()    Standards Track, Draft│Title ││Stan Ulbrych2026-10-27│Add list.discard() │─────── Type ───────│────────────────────────────────────────────────────────│ │Standards Track  588▆│850Wheel Variants:       Standards Track, Draft│Author │Informational    106│Providers             │Stan Ulbrych │Process           53│Michał Górny, Jonathan Dekhtiar, 2026-10-15│ ││Konstantin Schütze, Ralf Gommers│Discussions To │────── Status ──────│────────────────────────────────────────────────────────│https://discuss.python.org/t/pep-85 │Final            375│823None-aware access     Standards Track, Draft│ │Rejected         132│operators             │Status │Withdrawn         74│Marc Mueller2026-09-20│Draft │Draft             56│────────────────────────────────────────────────────────│ │Active            38│824None-coalescing       Standards Track, Draft│Type │Deferred          35│operators             │Standards Track │Superseded        25│Marc Mueller2026-09-20│ │Accepted          11│────────────────────────────────────────────────────────│Created │Provisional        1│849More Expressive Type  Standards Track, Draft│2026-10-27 (2 days ago) ││Expressions           │ │── Python Version ──│Imogen Hergeth2026-09-20│Python Version │None218│────────────────────────────────────────────────────────│3.16 │1.6                1│848Generational          Standards Track, Draft│ │2.0                9│Incremental Garbage   │Post History │2.1               25│Collection            │2025-10-12 (1 year, 1 month ago) 🔗 │2.2               24│Mark Shannon2026-09-16│2026-10-27 (2 days ago) 🔗 │2.3               26│────────────────────────────────────────────────────────│ │2.4               18│846Docstrings for Type   Standards Track, Draft│URL │2.5               24│Aliases               │https://peps.python.org/pep-0851/ │2.6               16│Bartosz Sławecki2026-09-06│ │2.7               12│────────────────────────────────────────────────────────│ │2.7.9              2│845Leading-Dot Value     Standards Track, Draft│ │2.7.12             1│Patterns              │ │2.8                1│Thomas Kehrenberg, Marc Mueller2026-08-25│ │2.x                1│────────────────────────────────────────────────────────│ │3.0               46│847Problem Details for   Standards Track, Draft│ │3.1                6│the Simple Repository │ │3.2               12│API                   │ │3.3               29│Luis Gonzalez, William Woodruff, Zsolt 2026-08-06│ │3.4               22│Dollenstein│  f1 Help  f2 Notes  f3 Details  f4 View  f10 Quit  ^r Redownload ▏^p Commands

catppuccin-latte Peplum v1.1.0 — All; Sorted by Date Created (reversed) (747) │All [a]747│851Add list.discard()    Standards Track, Draft│Title ││Stan Ulbrych2026-10-27│Add list.discard() │─────── Type ───────│────────────────────────────────────────────────────────│ │Standards Track  588▆│850Wheel Variants:       Standards Track, Draft│Author │Informational    106│Providers             │Stan Ulbrych │Process           53│Michał Górny, Jonathan Dekhtiar, 2026-10-15│ ││Konstantin Schütze, Ralf Gommers│Discussions To │────── Status ──────│────────────────────────────────────────────────────────│https://discuss.python.org/t/pep-85 │Final            375│823None-aware access     Standards Track, Draft│ │Rejected         132│operators             │Status │Withdrawn         74│Marc Mueller2026-09-20│Draft │Draft             56│────────────────────────────────────────────────────────│ │Active            38│824None-coalescing       Standards Track, Draft│Type │Deferred          35│operators             │Standards Track │Superseded        25│Marc Mueller2026-09-20│ │Accepted          11│────────────────────────────────────────────────────────│Created │Provisional        1│849More Expressive Type  Standards Track, Draft│2026-10-27 (2 days ago) ││Expressions           │ │── Python Version ──│Imogen Hergeth2026-09-20│Python Version │None218│────────────────────────────────────────────────────────│3.16 │1.6                1│848Generational          Standards Track, Draft│ │2.0                9│Incremental Garbage   │Post History │2.1               25│Collection            │2025-10-12 (1 year, 1 month ago) 🔗 │2.2               24│Mark Shannon2026-09-16│2026-10-27 (2 days ago) 🔗 │2.3               26│────────────────────────────────────────────────────────│ │2.4               18│846Docstrings for Type   Standards Track, Draft│URL │2.5               24│Aliases               │https://peps.python.org/pep-0851/ │2.6               16│Bartosz Sławecki2026-09-06│ │2.7               12│────────────────────────────────────────────────────────│ │2.7.9              2│845Leading-Dot Value     Standards Track, Draft│ │2.7.12             1│Patterns              │ │2.8                1│Thomas Kehrenberg, Marc Mueller2026-08-25│ │2.x                1│────────────────────────────────────────────────────────│ │3.0               46│847Problem Details for   Standards Track, Draft│ │3.1                6│the Simple Repository │ │3.2               12│API                   │ │3.3               29│Luis Gonzalez, William Woodruff, Zsolt 2026-08-06│ │3.4               22│Dollenstein│  f1 Help  f2 Notes  f3 Details  f4 View  f10 Quit  ^r Redownload ▏^p Commands

dracula Peplum v1.1.0 — All; Sorted by Date Created (reversed) (747) │All [a]747│851Add list.discard()    Standards Track, Draft│Title ││Stan Ulbrych2026-10-27│Add list.discard() │─────── Type ───────│────────────────────────────────────────────────────────│ │Standards Track  588▆│850Wheel Variants:       Standards Track, Draft│Author │Informational    106│Providers             │Stan Ulbrych │Process           53│Michał Górny, Jonathan Dekhtiar, 2026-10-15│ ││Konstantin Schütze, Ralf Gommers│Discussions To │────── Status ──────│────────────────────────────────────────────────────────│https://discuss.python.org/t/pep-85 │Final            375│823None-aware access     Standards Track, Draft│ │Rejected         132│operators             │Status │Withdrawn         74│Marc Mueller2026-09-20│Draft │Draft             56│────────────────────────────────────────────────────────│ │Active            38│824None-coalescing       Standards Track, Draft│Type │Deferred          35│operators             │Standards Track │Superseded        25│Marc Mueller2026-09-20│ │Accepted          11│────────────────────────────────────────────────────────│Created │Provisional        1│849More Expressive Type  Standards Track, Draft│2026-10-27 (2 days ago) ││Expressions           │ │── Python Version ──│Imogen Hergeth2026-09-20│Python Version │None218│────────────────────────────────────────────────────────│3.16 │1.6                1│848Generational          Standards Track, Draft│ │2.0                9│Incremental Garbage   │Post History │2.1               25│Collection            │2025-10-12 (1 year, 1 month ago) 🔗 │2.2               24│Mark Shannon2026-09-16│2026-10-27 (2 days ago) 🔗 │2.3               26│────────────────────────────────────────────────────────│ │2.4               18│846Docstrings for Type   Standards Track, Draft│URL │2.5               24│Aliases               │https://peps.python.org/pep-0851/ │2.6               16│Bartosz Sławecki2026-09-06│ │2.7               12│────────────────────────────────────────────────────────│ │2.7.9              2│845Leading-Dot Value     Standards Track, Draft│ │2.7.12             1│Patterns              │ │2.8                1│Thomas Kehrenberg, Marc Mueller2026-08-25│ │2.x                1│────────────────────────────────────────────────────────│ │3.0               46│847Problem Details for   Standards Track, Draft│ │3.1                6│the Simple Repository │ │3.2               12│API                   │ │3.3               29│Luis Gonzalez, William Woodruff, Zsolt 2026-08-06│ │3.4               22│Dollenstein│  f1 Help  f2 Notes  f3 Details  f4 View  f10 Quit  ^r Redownload ▏^p Commands