marks.nvim icon indicating copy to clipboard operation
marks.nvim copied to clipboard

Feat telescope support to list marks

Open ValJed opened this issue 2 years ago • 7 comments

👋🏼

I was a bit frustrated when searching in my existing marks (I often lose myself). So I thought that a telescope extension would be a perfect fit for that (fuzzy finding, location preview).

I added two methods that return the right data for buffer marks and project marks as well as two telescope extensions that allow to get the current buffer marks and the project marks.

It looks like this for the buffer one:

image

And like this for the list all marks:

image

I named the extension marks_nvim because I had weird errors with marks that could be linked to possible conflicts.

Anyway, I hope it'll be useful to some and tanks for the great plugin!

ValJed avatar Feb 27 '24 17:02 ValJed

this is great - is it possible to list bookmarks as well?

ctorney avatar Mar 01 '24 18:03 ctorney

@ctorney I'm not familiar with bookmarks, but should be doable I suppose. I'll add it!

ValJed avatar Mar 03 '24 11:03 ValJed

@ctorney Done it now also supports bookmarks listing. See readme.

ValJed avatar Mar 05 '24 19:03 ValJed

Thanks @ValJed! Works perfectly

ctorney avatar Mar 08 '24 12:03 ctorney

I wonder when this pull request is merged into master?

dangkhoipro avatar Nov 27 '24 15:11 dangkhoipro

I wonder when this pull request is merged into master?

I'm also wondering the same thing.

pidgeon777 avatar Dec 09 '24 19:12 pidgeon777

Me too ahah.

@dangkhoipro @pidgeon777 I'm using my branch since to be able to use the feature, you can by using my fork:

	{
		"ValJed/marks.nvim",
		branch = "feat-telescope-support-for-listing-marks",
                ...
         }

ValJed avatar Dec 09 '24 20:12 ValJed