about summary refs log tree commit diff stats
path: root/hm/soispha/conf/nvim/plugins/telescope/extensions/frecency/default.nix
blob: 4a4c22be936dc4181e3306049de3f73cbc920f37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
      };
    };
  };
}