vim/telescope: better mapping to send to loclist

This commit is contained in:
Fernando Schauenburg 2023-08-07 21:55:23 +02:00
parent 89cbebe6d4
commit a929b53d64

View file

@ -4,10 +4,10 @@ local config = function()
local actions_layout = require 'telescope.actions.layout' local actions_layout = require 'telescope.actions.layout'
local mappings = { local mappings = {
['<c-l>'] = actions_layout.cycle_layout_next, ['<c-y>'] = actions_layout.cycle_layout_next,
['<c-o>'] = actions_layout.toggle_mirror, ['<c-o>'] = actions_layout.toggle_mirror,
['<c-q>'] = actions.smart_send_to_qflist + actions.open_qflist, ['<c-q>'] = actions.smart_send_to_qflist + actions.open_qflist,
['<a-q>'] = actions.smart_send_to_loclist + actions.open_loclist, ['<c-l>'] = actions.smart_send_to_loclist + actions.open_loclist,
['<c-c>'] = actions.close, ['<c-c>'] = actions.close,
['<s-down>'] = actions.preview_scrolling_down, ['<s-down>'] = actions.preview_scrolling_down,