Changed default keymap C-q to "smart send" to location list
This commit is contained in:
@@ -2,6 +2,7 @@ return {
|
|||||||
{
|
{
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
|
local actions = require("telescope.actions")
|
||||||
require("telescope").setup({
|
require("telescope").setup({
|
||||||
pickers = {
|
pickers = {
|
||||||
find_files = {
|
find_files = {
|
||||||
@@ -26,6 +27,11 @@ return {
|
|||||||
layout_config = {
|
layout_config = {
|
||||||
width = 0.75,
|
width = 0.75,
|
||||||
},
|
},
|
||||||
|
mappings = {
|
||||||
|
i = {
|
||||||
|
["<C-q>"] = actions.smart_send_to_loclist + actions.open_loclist
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
current_buffer_fuzzy_find = {
|
current_buffer_fuzzy_find = {
|
||||||
layout_strategy = "vertical",
|
layout_strategy = "vertical",
|
||||||
|
|||||||
Reference in New Issue
Block a user