Is there a way to organize / parse the :marks list? E.g. list them in the order they were created, rather than alphabetically. Or see which marks are associated with currently open buffers.
Asked
Active
Viewed 68 times
1
Aaron Parisi
- 239
- 1
- 7
1 Answers
2
You can use the getmarklist() function to get information about the list of global or local marks.
Yegappan Lakshmanan
- 1,049
- 5
- 8
:marksreturns AFAIK. So maybe not what the OP wants. – 3N4N Aug 15 '22 at 17:46getmarklist()and something likefilter(range(1, bufnr('$')), 'buflisted(v:val)'). – 3N4N Aug 15 '22 at 17:52