diff options
| author | Michelle Tilley <michelle@michelletilley.net> | 2026-02-11 12:33:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-11 12:33:41 -0800 |
| commit | 9768d60399f344c7ceb0c2ecec6cfd2a0e191176 (patch) | |
| tree | e8fd29586a6ba5e5bc8679871a87d49180a85cf0 /.github/workflows/codespell.yml | |
| parent | fix(shell): fix ATUIN_SESSION errors in tmux popup (#3170) (diff) | |
| download | atuin-9768d60399f344c7ceb0c2ecec6cfd2a0e191176.zip | |
feat: Add original-input-empty keybind condition (#3171)
This PR adds a keybind condition called `original-input-empty` that is
true when the TUI was invoked from an empty prompt line; users can use
this to change behavior based on the original prompt's contents; for
example:
```toml
[keymap.emacs]
"esc" = [
{ when = "original-input-empty", action = "return-query" },
{ action = "return-original" }
]
```
Thanks Hazilo in Discord for the suggestion.
Diffstat (limited to '.github/workflows/codespell.yml')
0 files changed, 0 insertions, 0 deletions
