FISH_KEY_READER(1)
π FISH_KEY_READER(1) β the fish-shell manual, bestie edition π
okay so picture this: you're in the fish-shell docs, you click on fish_key_reader, and you're like "what even is this." Bestie. Sit down. This little icon is gonna change your whole keybinding life. β¨
π¦ NAME
fish_key_reader β literally just here to explore what characters your keyboard keys send π
πΈ SYNOPSIS
fish_key_reader [OPTIONS]
π DESCRIPTION
fish_key_reader is the tool that explains how you would bind a certain key sequence. Like, it tells you the tea about which bytes your keyboard is actually throwing at the terminal when you mash a key. π«Ά
By default, it prints the bind <> command for one key sequence, read interactively over standard input. One key sequence, one command, done. Periodt.
The following options are available:
-c,--continuousβ begins a session where multiple key sequences can be inspected. By default the program exits after capturing a single key sequence, so this is the main-character-mode version where it just keeps going. π-h,--helpβ displays help about using this command. Classic.-V,--verboseβ explains what sequence was received in addition to the decoded key. So you get the receipts, not just the verdict. π-v,--versionβ displays the current fish version and then exits. Quick vibe check on what you're running.
β οΈ USAGE NOTES
okay this part is important so listen up π
fish_key_reader intentionally disables handling of many signals. That's not a bug, that's on purpose β it needs the raw key data, so it can't be out here responding to every signal that comes its way.
Which means: to terminate fish_key_reader when you're in --continuous mode, you do one of these:
- press Ctrl+C twice, or
- press Ctrl+D twice, or
- type
exit, or - type
quit
π« yes, twice. once is not gonna cut it, bestie. it's giving "the key reader is not like other programs."
β EXAMPLE
> fish_key_reader
Press a key:
# press up-arrow
bind up 'do something'
see how it just... hands you the bind command?? no cap, that's the whole magic trick. press up-arrow, get bind up 'do something', copy-paste it into your config, slay. π
π COPYRIGHT
Copyright: fish-shell developers π
okay that's the whole page, bestie β you're now officially a fish_key_reader understander π§π
this has been version 4.9, dated Sep 08, 2026 β go forth and bind responsibly π¦β¨
π¦ where this page comes from
- arch rolling: fish 4.9.3-1 Β· GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms