Skip to content
 
 

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Showkeys (Themed Edition)

An eye candy keystroke screencaster for Neovim with built in theme presets and granular cell styling.

Note: This is an extended fork of nvzone/showkeys featuring a zero-boilerplate theming engine, community colorways, and automatic ColorScheme highlight synchronization.


Features Added in this Fork

  • Curated Theme Presets: Built-in support for tokyonight, catppuccin, gruvbox, nord, rose-pine, kanagawa, carbonfox, and dracula.
  • Automatic Theme Detection (theme = "auto"): Automatically matches vim.g.colors_name or dynamically derives colors from active Neovim highlight groups.
  • Granular Cell Styling: Customize active, inactive, window, and border styles with full #RRGGBB hex control.
  • Self-Managing Highlights: Built-in ColorScheme event listeners ensure custom colors persist across colorscheme reloads without manual autocmds.

Commands

  • :ShowkeysToggle — Toggles key screencasting on or off.
  • :ShowkeysOpen — Opens and starts the screencaster.
  • :ShowkeysClose — Closes and stops the screencaster.

Installation

Using lazy.nvim:

{
  "frtzhahn/showkeys",
  event = "VimEnter",
  opts = {
    autostart = true, -- opens automatically on startup
    timeout = 1,
    maxkeys = 3,
    position = "top-right",
    show_count = true,
    theme = "carbonfox", -- "auto", "tokyonight", "catppuccin", "gruvbox", "nord", "rose-pine", "kanagawa", "dracula", "carbonfox"
  },
}

Configuration

{
  "frtzhahn/showkeys",
  opts = {
    -- Lifecycle control
    autostart = true,      -- true = automatically open on startup, false = open on-demand
    timeout = 1,           -- time (in seconds) before keys fade away
    maxkeys = 3,           -- maximum number of visible keys in history
    position = "top-right", -- "top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"
    show_count = true,     -- display repeat count for identical consecutive keys

    -- Theming & Styling
    theme = "tokyonight",  -- "auto", "tokyonight", "catppuccin", "gruvbox", "nord", "rose-pine", "kanagawa", "dracula", "carbonfox"

    -- (Optional) Granular cell overrides
    style = {
      active = { fg = "#ffffff", bg = "#ff6b81", bold = true },
      inactive = { fg = "#c0c0c0", bg = "#383838" },
      border = { fg = "#3b3b3b" },
      window = { bg = "#1e1e1e", fg = "#dcdcdc" },
    },
  },
}

Upstream Credits & Support

Original plugin developed by siduck / nvzone. If you like the base project, please consider supporting the original author:

kofi paypal buymeacoffee patreon

About

showkey plugin from nvzone with theming & auto start tweaks

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages