From bc198142d4897f48cb914445490ce45de0d75a34 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 25 Aug 2023 12:30:36 +0200 Subject: Fix(hm/conf/neovim/plugins/telescope): Init --- .../nixvim/plugins/telescope/keymaps/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps/default.nix (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps') 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 + "gd" = { + action = "lsp_definitions"; + desc = "[G]oto [D]efinition (Telescope)"; + }; + "gtd" = { + action = "lsp_type_definitions"; + desc = "[G]oto the [t]ype [D]efinition (Telescope)"; + }; + "gi" = { + action = "lsp_implementations"; + desc = "[G]oto [I]mplementations (Telescope)"; + }; + "gr" = { + action = "lsp_references"; + desc = "[G]o to all [R]eferences of the symbol (Telescope)"; + }; + }; +} -- cgit 1.4.1