aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/soispha/config/neovim/nixvim/plugins/telescope/keymaps
diff options
context:
space:
mode:
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.nix21
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)";
+ };
+ };
+}