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

better support for global marks

Open qwertzui11 opened this issue 2 years ago • 1 comments

Hi

Thanks for this great plugin!

I was wandering if there is any support for toggling global marks?

m; toggles a buffer (lower case) mark. Toggle the next available mark at the current line I have not been able to find the same feature for global "upper case" marks.

With global marks I image a nice workflow in combination with Telescopes builtin.marks picker.

Thanks for your time, Cheers, Markus

qwertzui11 avatar Jul 07 '22 16:07 qwertzui11

Instead of adding a toggle for capital marks, would it suffice to simply allow for deleting capital marks from a different buffer? That way, you can do mA and dmA from any buffer to toggle. This usecase seems uncommon enough that I'd like to avoid adding another mapping just to save on 2-3 keystrokes, plus it also runs a bit counter to what capital marks are intended for - long lasting associations to a location in a particular file. If you're looking to quickly save position across buffers, then you should probably be using bookmarks instead.

chentoast avatar Jul 31 '22 02:07 chentoast

You are correct, I miss interpreted the usage of marks. Bookmarks are the goal I was looking for.

qwertzui11 avatar Sep 07 '22 03:09 qwertzui11