made c-j select item in telescope'

This commit is contained in:
Ivar Fatland
2025-01-13 09:16:37 +01:00
parent 3371bd0be5
commit 85bc93d806
+8 -2
View File
@@ -145,8 +145,14 @@ require'lazy'.setup{
require'telescope'.setup{ require'telescope'.setup{
defaults = { defaults = {
mappings = { mappings = {
i = { ["<C-Q>"] = a.smart_send_to_qflist + a.open_qflist, }, i = {
n = { ["<C-Q>"] = a.smart_send_to_qflist + a.open_qflist, }, ["<C-Q>"] = a.smart_send_to_qflist + a.open_qflist,
["<C-j>"] = a.select_default,
},
n = {
["<C-Q>"] = a.smart_send_to_qflist + a.open_qflist,
["<C-j>"] = a.select_default,
},
} }
} }
} }