summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorDilshod Temirkhodjaev <tdilshod@gmail.com>2023-09-04 17:36:28 +0500
committerGitHub <noreply@github.com>2023-09-04 17:36:28 +0500
commitac9b167860479982feddf9795c24165d75f1847b (patch)
treed0463062047669a2c8b0c277e41445cc8f9be6a2 /init.lua
parent1a971cbdcffdc204e073d8142e5491e1f976a3eb (diff)
Add telescope search resume key binding
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index ad993ea..be65154 100644
--- a/init.lua
+++ b/init.lua
@@ -308,6 +308,7 @@ vim.keymap.set('n', '<leader>sh', require('telescope.builtin').help_tags, { desc
vim.keymap.set('n', '<leader>sw', require('telescope.builtin').grep_string, { desc = '[S]earch current [W]ord' })
vim.keymap.set('n', '<leader>sg', require('telescope.builtin').live_grep, { desc = '[S]earch by [G]rep' })
vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { desc = '[S]earch [D]iagnostics' })
+vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc = '[S]earch [R]resume' })
-- [[ Configure Treesitter ]]
-- See `:help nvim-treesitter`