Skip to content

Commit 5640d37

Browse files
committed
Add telescope mapping for smart sending to qflist
1 parent 5bb824b commit 5640d37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/kickstart/plugins/telescope.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ return {
6363
['<C-k>'] = 'move_selection_previous',
6464
['<C-u>'] = 'preview_scrolling_up',
6565
['<C-d>'] = 'preview_scrolling_down',
66+
['<C-s><C-q>'] = function(p_bufnr)
67+
require('telescope.actions').smart_send_to_qflist(p_bufnr)
68+
vim.cmd 'cw'
69+
end,
6670
},
6771
},
6872
},

0 commit comments

Comments
 (0)