toggleterm setup

This commit is contained in:
2025-03-17 17:27:09 +01:00
parent bd33cf9c23
commit e18f655c7e

View File

@@ -190,12 +190,6 @@ in {
mode = [ "n" ];
}
{
key = "<leader>ot";
action = ":ToggleTerm direction=float<cr>";
mode = [ "n" ];
}
{
key = "<leader>cc";
action = ":CopilotChatToggle<cr>";
@@ -553,9 +547,14 @@ in {
toggleterm = {
enable = true;
# keymaps = {
# "<leader>ot" = "ToggleTerm shell=zsh";
# };
settings = {
direction = "float";
float_opts = {
border = "curved";
};
open_mapping = "[[<leader>ot]]";
close_on_exit = false;
};
};
autoclose.enable = true;
@@ -817,5 +816,6 @@ in {
];
shell = "${pkgs.zsh}/bin/zsh";
newSession = true;
terminal = "kitty";
};
}