add toggleterm and binds

This commit is contained in:
lucy 2026-07-12 13:18:37 +02:00
commit a190cee4a4
2 changed files with 28 additions and 1 deletions

View file

@ -7,7 +7,11 @@
}
{
key = "<leader>t";
action = "<cmd> terminal <cr>";
action = "<cmd>ToggleTerm size=10<cr>";
}
{
key = "<leader>tf";
action = "<cmd>ToggleTerm size=10 direction=float<cr>";
}
{
key = "<esc>";
@ -18,6 +22,22 @@
key = "<leader>w";
action = "<cmd>bdelete! <cr>";
}
{
key = "<C-l>";
action = "<C-W>l";
}
{
key = "<C-k>";
action = "<C-W>k";
}
{
key = "<C-j>";
action = "<C-W>j";
}
{
key = "<C-h>";
action = "<C-W>h";
}
];
};
}

View file

@ -9,6 +9,13 @@
blink-indent = {
enable = true;
};
toggleterm = {
enable = true;
settings = {
size = 30;
direction = "horizontal";
};
};
cord = {
enable = true;
settings = {