From bc198142d4897f48cb914445490ce45de0d75a34 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 25 Aug 2023 12:30:36 +0200 Subject: Fix(hm/conf/neovim/plugins/telescope): Init --- .../telescope/extensions/frecency/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/frecency/default.nix (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/frecency') diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/frecency/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/frecency/default.nix new file mode 100644 index 00000000..ab7b9205 --- /dev/null +++ b/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/frecency/default.nix @@ -0,0 +1,22 @@ +{...}: { + programs.nixvim = { + maps = { + normal = { + "gff" = { + action = "function() require('telescope').extensions.frecency.frecency() end"; + lua = true; + desc = "activate the frecency file selection"; + }; + }; + }; + plugins.telescope = { + extensions.frecency = { + enable = true; + showUnindexed = true; + showScores = true; + # TODO add this: + #db_safe_mode = true; + }; + }; + }; +} -- cgit 1.4.1