diff options
author | Soispha <soispha@vhack.eu> | 2023-08-25 12:30:36 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-25 12:31:09 +0200 |
commit | bc198142d4897f48cb914445490ce45de0d75a34 (patch) | |
tree | 917ea2f91dfb25673071f19bad663042dcd21551 /home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps | |
parent | Fix(hm/conf/leap): Squas (diff) | |
download | nixos-config-bc198142d4897f48cb914445490ce45de0d75a34.zip |
Fix(hm/conf/neovim/plugins/telescope): Init
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps')
-rw-r--r-- | home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps/default.nix new file mode 100644 index 00000000..a0ffdd5e --- /dev/null +++ b/home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps/default.nix @@ -0,0 +1,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)"; + }; + }; +} |