diff --git a/docs/release-notes/rl-0.7.md b/docs/release-notes/rl-0.7.md index 83b4efd7..dca9319a 100644 --- a/docs/release-notes/rl-0.7.md +++ b/docs/release-notes/rl-0.7.md @@ -170,7 +170,7 @@ The changes are, in no particular order: - Add [ocaml-lsp] support -- Fix `Emac` typo +- Fix misspelled "Emacs" - Add [new-file-template.nvim] to automatically fill new file contents using templates diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 4073774c..96819a48 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -516,3 +516,7 @@ [neocodeium]: https://github.com/monkoose/neocodeium - Add [neocodeium] plugin in `vim.assistant.neocodeium` with `enable`, `setupOpts` and `keymaps` + +[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";