feat: <control><direction> window navigation

This commit is contained in:
♥ Minnie ♥ 2025-05-13 23:59:58 +08:00
parent 82dd9c85d5
commit 3fed17452d
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -11,6 +11,42 @@
};
}
{ # focus window left
mode = ["n"];
key = "<C-Left>";
action = "<C-w>h";
options = {
silent = true;
};
}
{ # focus window down
mode = ["n"];
key = "<C-Down>";
action = "<C-w>j";
options = {
silent = true;
};
}
{ # focus window up
mode = ["n"];
key = "<C-Up>";
action = "<C-w>k";
options = {
silent = true;
};
}
{ # focus window right
mode = ["n"];
key = "<C-Right>";
action = "<C-w>l";
options = {
silent = true;
};
}
{ # buffer prefix
mode = "n";
key = "<leader>b";