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";