about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/symbols
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/symbols')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/symbols/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/symbols/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/symbols/default.nix
new file mode 100644
index 00000000..bbe19fb6
--- /dev/null
+++ b/home-manager/soispha/config/neovim/nixvim/plugins/telescope/extensions/symbols/default.nix
@@ -0,0 +1,20 @@
+{...}: {
+  programs.nixvim.maps = {
+    normal = {
+      "gff" = {
+        action = "function() require('telescope').extensions.frecency.frecency() end";
+        lua = true;
+        desc = "activate the frecency file selection";
+      };
+    };
+  };
+  programs.nixvim.plugins.telescope = {
+    extensions.frecency = {
+      enable = true;
+      showUnindexed = true;
+      showScores = true;
+      # TODO add this:
+      #db_safe_mode = true;
+    };
+  };
+}