From 1a1b0ced870df538832164c689f6bf0c140f4627 Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Wed, 4 Dec 2024 11:36:43 -0500 Subject: [PATCH] feat: add keymap to search help tags (?) --- .config/nvim/lua/core/keymap.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/core/keymap.lua b/.config/nvim/lua/core/keymap.lua index 5abcaf0..483266c 100644 --- a/.config/nvim/lua/core/keymap.lua +++ b/.config/nvim/lua/core/keymap.lua @@ -12,6 +12,7 @@ end keymap.set('i', 'jk', '', opts('Exit insert mode with jk')) keymap.set('n', 'nh', ':nohl', opts('Clear search highlights')) keymap.set({ 'n', 'v' }, 'cm', 'Noice dismiss', opts('Dismiss notifications')) +keymap.set('n', '?', 'Telescope help_tags', opts('Search documentation')) -- ────────────────────────────────────────────────────( formatting )─ keymap.set({ 'n', 'v' }, 'F', function() @@ -231,4 +232,4 @@ keymap.set('i', '', function() else vim.opt_local.spell = true end -end, opts('Toggle spell check')) \ No newline at end of file +end, opts('Toggle spell check'))