Skip to content

fix(kde): held keys repeat; plain tree arrows - #440

Merged
odsod merged 1 commit into
mainfrom
kde-key-repeat
Nov 22, 2026
Merged

odsod merged 1 commit into
mainfrom
kde-key-repeat

Conversation

@odsod

@odsod odsod commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Why

  • Holding k in Neovim in Herdr opened an accent picker instead of moving up. Plasma 6.8's plasma-keyboard input method shows it when a key is held (diacriticsPopupEnabled, on by default). Herdr takes text through that input method, so it gets the picker.
  • nvim-tree's folder arrows are Nerd Font icons. Iosevka SS08 has none, so Herdr draws them from its bundled Symbols Nerd Font and fits each icon on its own (src/terminal.rs). The two arrows then come out in different sizes. Herdr skips fontconfig for icons, so a fallback rule can't fix it.

What

  • keyboard:setup writes plasmakeyboardrc diacriticsPopupEnabled=false and kcminputrc KeyRepeat=repeat.
  • nvim-tree uses ▸/▾, which Iosevka SS08 has. The Neovim config has no other Nerd Font icons.

Test plan

  • mise run check passes.
  • Headless nvim-tree renders ▸ arrows; checked in Herdr on the laptop.
  • Settings written on both machines. plasma-keyboard picks the popup setting up on its next start (next login).

- Plasma 6.8's plasma-keyboard input method opens an accent picker when a
  key is held, so holding k in Neovim in Herdr popped it up instead of
  moving. keyboard:setup turns it off and sets KeyRepeat=repeat.
- Herdr draws missing Nerd Font icons from a bundled font, fitted one by
  one, so nvim-tree's folder arrows came out in different sizes. Use the
  plain Unicode arrows that Iosevka SS08 has.
@odsod
odsod merged commit c22d886 into main Nov 22, 2026
1 check passed
@odsod
odsod deleted the kde-key-repeat branch November 22, 2026 21:07
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.

1 participant