Saturday, November 3, 2018

Sort folds by a line within the fold

People,

Bookmarks managers never do everything I want them to do - if I have
lots of blocks like this stacked:

{
"date_added": "13185720896096372",
"id": "4",
"meta_info": {
"Thumbnail":
"chrome://thumb/http://bookmark_thumbnail/4",
"last_visited_desktop": "13185722028324880"
},
"name": "Home | Mobius Communications",
"type": "url",
"url": "http://bbc.net/"
},

- I presume I could work out a way of folding on the the first and last
curly brace in each block - but then would there be some way of sorting
this stack of folded blocks by the "name" line in each of the blocks?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment