dressing.lua (501B)
1 if not pcall(require, 'dressing') then 2 return 3 end 4 5 require('dressing').setup({ 6 input = { 7 insert_only = false, 8 mappings = { 9 n = { 10 ["<C-e>"] = "Close", 11 ["<C-y>"] = "Confirm", 12 }, 13 i = { 14 ["<C-e>"] = "Close", 15 ["<C-y>"] = "Confirm", 16 ["<C-p>"] = "HistoryPrev", 17 ["<C-n>"] = "HistoryNext", 18 }, 19 }, 20 }, 21 select = { 22 backend = { 'telescope', 'builtin' }, 23 telescope = require('telescope.themes').get_dropdown() 24 }, 25 })