about summary refs log tree commit diff stats
path: root/modules/by-name/nv/nvim/plgs/telescope/keymaps/default.nix
blob: a474f0972d9b77c4dcd0595d981492e520ab5bac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  config,
  lib,
  ...
}: let
  cfg = config.soispha.programs.nvim;
in {
  home-manager.users.soispha.programs.nixvim.plugins.telescope.keymaps = lib.mkIf cfg.enable {
    "<space>rg" = {
      action = "live_grep";
      options = {
        desc = "[rg] in a live session";
      };
    };
  };
}