From 6404aa5b51cd7752a2da244d49ad9042fbc87285 Mon Sep 17 00:00:00 2001 From: SL1900 Date: Fri, 17 Oct 2025 00:21:54 +0900 Subject: [PATCH] Changed default keymap C-q to "smart send" to location list --- lua/plugins/telescope.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index fa4956f..54a1cc8 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -2,6 +2,7 @@ return { { "nvim-telescope/telescope.nvim", config = function() + local actions = require("telescope.actions") require("telescope").setup({ pickers = { find_files = { @@ -26,6 +27,11 @@ return { layout_config = { width = 0.75, }, + mappings = { + i = { + [""] = actions.smart_send_to_loclist + actions.open_loclist + } + }, }, current_buffer_fuzzy_find = { layout_strategy = "vertical",