remove toggleterm and add keybinds for split navigation
This commit is contained in:
parent
e7ed172048
commit
3f9dbf1713
3 changed files with 28 additions and 3 deletions
|
|
@ -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><";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
shiftwidth = 8;
|
||||
expandtab = true;
|
||||
swapfile = false;
|
||||
splitright = true;
|
||||
splitbelow = true;
|
||||
};
|
||||
extraPackages = with pkgs; [
|
||||
nixfmt
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./barbar.nix
|
||||
./toggleterm.nix
|
||||
./cord.nix
|
||||
./telescope.nix
|
||||
./statusline.nix
|
||||
|
|
|
|||
Loading…
Reference in a new issue