about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps/default.nix
blob: a0ffdd5ec5aae98fb51a7bf3970452b5e14fdad7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{...}: {
  programs.nixvim.plugins.telescope.keymaps = {
    # TODO add diagnostics and workspace symbols here
    "<space>gd" = {
      action = "lsp_definitions";
      desc = "[G]oto [D]efinition (Telescope)";
    };
    "<space>gtd" = {
      action = "lsp_type_definitions";
      desc = "[G]oto the [t]ype [D]efinition (Telescope)";
    };
    "<space>gi" = {
      action = "lsp_implementations";
      desc = "[G]oto [I]mplementations (Telescope)";
    };
    "<space>gr" = {
      action = "lsp_references";
      desc = "[G]o to all [R]eferences of the symbol (Telescope)";
    };
  };
}