From 8480b5bf5a1b077e5498ec93fc9ebff5a74df294 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Mon, 13 Oct 2025 12:01:27 +0100 Subject: [PATCH] feat(nixvim): added telescope-tabs --- nix/modules/nixvim/home.nix | 40 +++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/nix/modules/nixvim/home.nix b/nix/modules/nixvim/home.nix index a7dd758..c9328e2 100644 --- a/nix/modules/nixvim/home.nix +++ b/nix/modules/nixvim/home.nix @@ -42,12 +42,26 @@ }; }; }; - extraPlugins = with pkgs; [ - vimPlugins.mini-completion - vimPlugins.mini-comment - vimPlugins.melange-nvim - vimPlugins.telescope-file-browser-nvim - ]; + extraPlugins = + with pkgs; + [ + vimPlugins.mini-completion + vimPlugins.mini-comment + vimPlugins.melange-nvim + vimPlugins.telescope-file-browser-nvim + ] + ++ [ + (pkgs.vimUtils.buildVimPlugin { + name = "telescope-tabs"; + doCheck = false; # i didnt figure out how to do deps so lmfao + src = pkgs.fetchFromGitHub { + owner = "LukasPietzschmann"; + repo = "telescope-tabs"; + rev = "777b1f630f3d6a12a2e71635a82581c988d6da2e"; + hash = "sha256-5NpH9+0ECrcKi8quPLpCHLSPTuzGETWtq4E+2jqUKio="; + }; + }) + ]; opts = { number = true; bg = "dark"; @@ -80,6 +94,20 @@ silent = true; }; } + { + action = "Telescope telescope-tabs list_tabs"; + key = "ft"; + options = { + silent = true; + }; + } + { + action = "tabnew"; + key = "tt"; + options = { + silent = true; + }; + } { action = "LazyGit"; key = "lg";