mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
25 lines
497 B
Nix
25 lines
497 B
Nix
{
|
|
programs.pi-coding-agent = {
|
|
enable = true;
|
|
keybindings = {
|
|
"tui.editor.cursorUp" = [
|
|
"up"
|
|
"ctrl+p"
|
|
];
|
|
"tui.editor.cursorDown" = [
|
|
"down"
|
|
"ctrl+n"
|
|
];
|
|
"tui.editor.deleteWordBackward" = [
|
|
"ctrl+w"
|
|
"alt+backspace"
|
|
];
|
|
};
|
|
};
|
|
nmt.script = ''
|
|
assertFileExists home-files/.pi/agent/keybindings.json
|
|
assertFileContent home-files/.pi/agent/keybindings.json \
|
|
${./keybindings.json}
|
|
'';
|
|
}
|