summaryrefslogblamecommitdiffstats
path: root/nixos/modules/nixvim/plugins/telescope.nix
blob: 1309eca225284051046359129ea9bc31eed299e4 (plain) (tree)




























                                       
{
  programs.nixvim.plugins.telescope = {
    enable = true;

    keymaps = {
      "<leader>ff" = "find_files";
      "<leader>b" = "buffers";
      "<leader>fh" = "help_tags";
      "<leader>gf" = "git_files";
      "<leader>of" = "oldfiles";
      # "<leader>fg" = "live_grep";
      # "<leader>fd" = "diagnostics";
    };

    keymapsSilent = true;

    settings.defaults = {
      file_ignore_patterns = [
        "^.git/"
        "^.mypy_cache/"
        "^__pycache__/"
        "^output/"
        "^data/"
        "%.ipynb"
      ];
      set_env.COLORTERM = "truecolor";
    };
  };
}