diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 5914df92..446130cb 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -510,3 +510,7 @@ - Add inline typst concealing support under `vim.languages.typst` using [typst-concealer]. + +[JudahZF](https://github.com/JudahZF): + +- Added gitFiles mapping option to telescope diff --git a/modules/plugins/utility/telescope/config.nix b/modules/plugins/utility/telescope/config.nix index 73d5e517..0b14d08b 100644 --- a/modules/plugins/utility/telescope/config.nix +++ b/modules/plugins/utility/telescope/config.nix @@ -49,6 +49,7 @@ in { (mkKeymap "n" keys.open "Telescope" {desc = mappings.open.description;}) (mkKeymap "n" keys.resume "Telescope resume" {desc = mappings.resume.description;}) + (mkKeymap "n" keys.gitFiles "Telescope git_files" {desc = mappings.gitFiles.description;}) (mkKeymap "n" keys.gitCommits "Telescope git_commits" {desc = mappings.gitCommits.description;}) (mkKeymap "n" keys.gitBufferCommits "Telescope git_bcommits" {desc = mappings.gitBufferCommits.description;}) (mkKeymap "n" keys.gitBranches "Telescope git_branches" {desc = mappings.gitBranches.description;}) diff --git a/modules/plugins/utility/telescope/telescope.nix b/modules/plugins/utility/telescope/telescope.nix index 9ed6f263..70fc92c7 100644 --- a/modules/plugins/utility/telescope/telescope.nix +++ b/modules/plugins/utility/telescope/telescope.nix @@ -208,6 +208,7 @@ in { open = mkMappingOption "Open [Telescope]" "ft"; resume = mkMappingOption "Resume (previous search) [Telescope]" "fr"; + gitFiles = mkMappingOption "Git files [Telescope]" "fvf"; gitCommits = mkMappingOption "Git commits [Telescope]" "fvcw"; gitBufferCommits = mkMappingOption "Git buffer commits [Telescope]" "fvcb"; gitBranches = mkMappingOption "Git branches [Telescope]" "fvb";