This commit is contained in:
elwrcl committed 2026-08-02 19:30:03 +03:00
1 parent 2961392e7e
commit b16fa1ba6e
4 files changed
+128 -29

No files matched your search

@@ -0,0 +1,32 @@
{ ... }:
{
flake.homeModules.home-nushell-keybinds =
{ ... }:
{
programs.nushell.extraConfig = ''
$env.config.keybindings ++= [
{
name: jj_status
modifier: control
keycode: char_g
mode: [ emacs vi_insert vi_normal ]
event: { send: executehostcommand, cmd: "jj status" }
}
{
name: jj_log
modifier: alt
keycode: char_l
mode: [ emacs vi_insert vi_normal ]
event: { send: executehostcommand, cmd: "jj log" }
}
{
name: jj_diff
modifier: alt
keycode: char_d
mode: [ emacs vi_insert vi_normal ]
event: { send: executehostcommand, cmd: "jj diff" }
}
]
'';
};
}