Currently the interactive diff viewer (lumen diff) has hardcoded keybindings. In particular, next/previous file is bound to ctrl+j / ctrl+k.
These conflict with keys I already use elsewhere in my terminal/multiplexer, and there is no way to rebind them. The config schema (~/.config/lumen/lumen.config.json) only supports provider, model, api_key, theme, wrap, and draft.commit_types — nothing for keybindings.
Request
Allow customizing diff-viewer keybindings via the config file. For example, I would like to remap next/previous file to ] / [.
A possible shape:
{
"diff": {
"keybindings": {
"next_file": "]",
"prev_file": "["
}
}
}
Any config-driven mechanism would work — the key point is being able to override the hardcoded defaults.
Version
lumen 2.30.0
Currently the interactive diff viewer (
lumen diff) has hardcoded keybindings. In particular, next/previous file is bound toctrl+j/ctrl+k.These conflict with keys I already use elsewhere in my terminal/multiplexer, and there is no way to rebind them. The config schema (
~/.config/lumen/lumen.config.json) only supportsprovider,model,api_key,theme,wrap, anddraft.commit_types— nothing for keybindings.Request
Allow customizing diff-viewer keybindings via the config file. For example, I would like to remap next/previous file to
]/[.A possible shape:
{ "diff": { "keybindings": { "next_file": "]", "prev_file": "[" } } }Any config-driven mechanism would work — the key point is being able to override the hardcoded defaults.
Version
lumen 2.30.0