diff --git a/config/config.nix b/config/config.nix index 17340e7..67721ac 100644 --- a/config/config.nix +++ b/config/config.nix @@ -40,4 +40,8 @@ desc = "Format on save"; } ]; + + diagnostic.settings = { + virtual_text = false; + }; } diff --git a/config/keys.nix b/config/keys.nix index 0c2a532..6771318 100644 --- a/config/keys.nix +++ b/config/keys.nix @@ -98,6 +98,16 @@ desc = "Set breakpoint"; }; } + + # toggleterm.nvim + { + mode = "n"; + action = "ToggleTerm size=40 direction=vertical"; + key = "ft"; + options = { + desc = "Toggle terminal"; + }; + } ]; plugins.fzf-lua.keymaps = { diff --git a/config/plugins.nix b/config/plugins.nix index e046ebb..2e7dd79 100644 --- a/config/plugins.nix +++ b/config/plugins.nix @@ -103,6 +103,7 @@ chadtree = { enable = true; + view.openDirection = "right"; keymap.openFileFolder.collapse = [ "l" ]; }; @@ -154,6 +155,9 @@ dap-python = { enable = true; }; - }; + toggleterm = { + enable = true; + }; + }; }