{"id":16586649,"url":"https://github.com/tjdevries/vim-vertex","last_synced_at":"2026-02-25T05:08:48.351Z","repository":{"id":96940205,"uuid":"51621422","full_name":"tjdevries/vim-vertex","owner":"tjdevries","description":"Vim plugin for foldmarker manipulation","archived":false,"fork":false,"pushed_at":"2016-06-09T03:46:27.000Z","size":43,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T19:26:03.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"VimL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tjdevries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-12T22:43:15.000Z","updated_at":"2021-02-20T05:06:42.000Z","dependencies_parsed_at":"2023-03-13T16:21:16.590Z","dependency_job_id":null,"html_url":"https://github.com/tjdevries/vim-vertex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjdevries%2Fvim-vertex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjdevries%2Fvim-vertex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjdevries%2Fvim-vertex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjdevries%2Fvim-vertex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjdevries","download_url":"https://codeload.github.com/tjdevries/vim-vertex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242171480,"owners_count":20083557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T22:52:09.993Z","updated_at":"2025-10-25T06:45:49.947Z","avatar_url":"https://github.com/tjdevries.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-vertex\n![TravisBuild](https://travis-ci.org/tjdevries/vim-vertex.svg?branch=master)\n\nRemove and insert Vim's `foldmarkers`.\n\n## Why `Vim-Vertex`\n\n**Vertex**: A point where two or more demarcations meet.\n\nIn terms of this plugin, a **vertex** is a place where two or more de - _MARK_ - ations meet at one point. In VIM, this one point can be considered a `fold` and the outline is marked by `foldmarkers`. \n\nAs many of us know and have experienced, other editors don't always take advantage of them. For me, that meant not being able to use them in code that I was collaborating on. This plugin attempts to solve this problem by giving you simple commands to both remove and add back in your own `foldmarkers`.\n\n## What It Does\n\nThis plugin allows you to keep your markers out of version control (or just files you pass back and forth) so that the non-VIM users do not have the code \"cluttered\" with Vim `foldmarkers`.\n\nThe main idea is to add the capability of having `foldmarkers` inside of files, even version controlled files, but not having others have to view them. I think this is best explained via example:\n\n### Example\n\n```python\n#!/usr/bin/python\n# This is a python file\n\n# Regular comment\ndef new_function():\n    pass\n\n# {{{\n'''world's coolest python thing'''\n# }}}\n\n# Comment with a fold after it {{{ this stuff will go away\nclass NewClass:\n    def __init__(self):\n        # {{{ Personal note regarding what is coming up\n        # This comment gives insight\n        pass\n        # }}}\n\n    # {{{ Works on nested folds\n    @property\n    def cool(self):\n        return True\n    # }}}\n    # }}}\n```\n\nAfter running `VertexRemove`, vim-vertex will remove all of the fold markers. It will then look like the file below.\n\n```python\n#!/usr/bin/python\n# This is a python file\n\n# Regular comment\ndef new_function():\n    pass\n\n'''world's coolest python thing'''\n\n# Comment with a fold after it\nclass NewClass:\n    def __init__(self):\n        # This comment gives insight\n        pass\n\n    @property\n    def cool(self):\n        return True\n```\n\nIt stores the information required to place those folds back in another file (this could be changed if someone thinks of a better way!). To place them back, simply call `VertexInsert`. Then the file will look like its original state.\n\n## Requirements\n\nFor this plugin to be useful to you, these things should be true.\n\n1. `foldmethod=marker`: I'm not really sure why you would be using this otherwise\n\nMaybe this plugin is now `foldmarker` agnostic. I'm not sure yet. Still working on some other things currently\n\n## TODO\n\nPlease see the `TODO` tracker in this repository's issues section.\n\n## Testing\n\nI am using Vader as my testing suite. You can see the tests in the `test` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjdevries%2Fvim-vertex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjdevries%2Fvim-vertex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjdevries%2Fvim-vertex/lists"}