From 71ccd2b7fdc0b32a3cfa1eb552ca0fe9c12bd5c3 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 16 Jan 2025 19:28:06 +0200 Subject: [PATCH] feat(toggleterm): remove --- config/plugins/default.nix | 1 - config/plugins/toggleterm.nix | 14 -------------- 2 files changed, 15 deletions(-) delete mode 100644 config/plugins/toggleterm.nix diff --git a/config/plugins/default.nix b/config/plugins/default.nix index a9119d0..8129cca 100644 --- a/config/plugins/default.nix +++ b/config/plugins/default.nix @@ -11,7 +11,6 @@ ./silicon.nix ./telescope.nix #./tiny-code-action.nix - ./toggleterm.nix ./treesitter.nix ./which-key.nix ./zen-mode.nix diff --git a/config/plugins/toggleterm.nix b/config/plugins/toggleterm.nix deleted file mode 100644 index d7f8046..0000000 --- a/config/plugins/toggleterm.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ - plugins.toggleterm.enable = true; - extraConfigLua = '' - local Terminal = require("toggleterm.terminal").Terminal - local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = "float" }) - - function _lazygit_toggle() - lazygit:toggle() - end - - vim.api.nvim_set_keymap("n", "", "lua _lazygit_toggle()", - {noremap = true, silent = true, desc = "Toggle lazygit"}) - ''; -} -- 2.44.1