nvim icon indicating copy to clipboard operation
nvim copied to clipboard

Could you integrate some telescope extensions?

Open zhuzhzh opened this issue 3 years ago • 4 comments

like zoxide, fzf, dap

5 vim.cmd([[packadd telescope-fzf-native.nvim]]) 6 vim.cmd([[packadd telescope-project.nvim]]) 7 vim.cmd([[packadd telescope-frecency.nvim]]) 8 vim.cmd([[packadd telescope-zoxide]])

zhuzhzh avatar May 22 '22 12:05 zhuzhzh

I don't use them, but you can add them yourself.

askfiy avatar May 22 '22 12:05 askfiy

I add telescope-zoxide, it doesn't work. it seems telescope can't find the extentions.

the functionality of zoxide is missed in your configuration. there is no way to switch in different directions with fuzzy method.

:Z

zhuzhzh avatar May 23 '22 02:05 zhuzhzh

Is this related to plugin lazy loading?

I don't use zoxide, and I'm mostly happy with my current configuration. So I may not be able to help you.

This configuration mainly provides a function that most people use, it is not suitable for everyone.

But it should have good scalability ..

askfiy avatar May 23 '22 06:05 askfiy

I add telescope-zoxide, it doesn't work. it seems telescope can't find the extentions.

the functionality of zoxide is missed in your configuration. there is no way to switch in different directions with fuzzy method.

:Z

Telescope-zoxide doesn't work like that, you're referring to the other zoxide(or z) plugin for vim which is invoked by :Z, for telescope zoxide use :Telescope zoxide list

To lazy load (I use packer), just lazy load Telescope normally (keys or cmd) and load telescope-zoxide after it

use({
	"jvgrootveld/telescope-zoxide",
	after = "telescope.nvim",
	config = function()
		require("telescope").load_extension("zoxide")
	end,
})

par4m avatar May 27 '22 17:05 par4m

现在使用 Lazy.nvim 后,telescope 的依赖将更易于安装。因此我决定关闭这个问题 ...

askfiy avatar Jan 31 '23 01:01 askfiy