remove toggleterm and add keybinds for split navigation

This commit is contained in:
lucy 2026-08-12 14:33:31 +02:00
commit 3f9dbf1713
3 changed files with 28 additions and 3 deletions

View file

@ -6,8 +6,16 @@
action = "<cmd> lua vim.lsp.buf.format() <cr>";
}
{
key = "<c-t>";
action = "<cmd>ToggleTerm size=10 direction=horizontal<cr>";
key = "<leader>j";
action = "<cmd> split <cr>";
}
{
key = "<leader>l";
action = "<cmd> vsplit <cr>";
}
{
key = "<leader>t";
action = "<cmd>terminal<cr>";
}
{
key = "<leader>tf";
@ -38,6 +46,22 @@
key = "<C-h>";
action = "<C-W>h";
}
{
key = "<M-l>";
action = "<C-W>>";
}
{
key = "<M-k>";
action = "<C-W>+";
}
{
key = "<M-j>";
action = "<C-W>-";
}
{
key = "<M-h>";
action = "<C-W><";
}
];
};
}

View file

@ -25,6 +25,8 @@
shiftwidth = 8;
expandtab = true;
swapfile = false;
splitright = true;
splitbelow = true;
};
extraPackages = with pkgs; [
nixfmt

View file

@ -1,7 +1,6 @@
{
imports = [
./barbar.nix
./toggleterm.nix
./cord.nix
./telescope.nix
./statusline.nix