Closed fjchen7 closed 5 months ago
@jimzk
Hi :wave:, I don't know why?
But if you want that config, you need some like this
local hbac = function()
vim.cmd('Telescope hbac buffers')
end
local options = {
match_algorithm = 'fzf',
mappings = {
i = {
['<C-i>'] = hbac,
},
},
}
return {
'danielfalk/smart-open.nvim',
keys = {
{
'<leader>ff',
function()
require('telescope').extensions.smart_open.smart_open(options)
end,
desc = '[F]ind Smart Open',
},
},
config = function()
require('telescope').load_extension('smart_open')
vim.api.nvim_create_user_command('SmartOpen', function()
require('telescope').extensions.smart_open.smart_open(options)
end, {})
end,
}
Hey @NikolaM-Dev, Thanks for replay. However it still does not work for me. I am doubting that the mapping I configure in telescope override those in smart-open.
Hi, I've started a new branch 0.2.x
where I have a fix for this. If you want to try it out and let me know, that would be great. I'll be updating that branch more hopefully in the near future and if it looks good, will start recommending it more broadly.
I'll close this for now, but if you want to try it out feel free to leave feedback here.
My customized
<C-h>
doesn't work. Seems the mapping is not registered.