{"id":18820880,"url":"https://github.com/hashrocket/vim-macdown","last_synced_at":"2025-09-04T18:35:59.468Z","repository":{"id":52373097,"uuid":"99354557","full_name":"hashrocket/vim-macdown","owner":"hashrocket","description":"write markdown in Vim with live-reloads in MacDown","archived":false,"fork":false,"pushed_at":"2023-03-11T19:17:36.000Z","size":11,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-27T14:21:18.231Z","etag":null,"topics":["macdown","markdown","vim"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashrocket.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-08-04T15:10:10.000Z","updated_at":"2022-06-01T16:33:47.000Z","dependencies_parsed_at":"2024-11-08T00:32:09.535Z","dependency_job_id":"f7908453-cd6e-4223-86a1-a96794c033fd","html_url":"https://github.com/hashrocket/vim-macdown","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/hashrocket%2Fvim-macdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashrocket%2Fvim-macdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashrocket%2Fvim-macdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashrocket%2Fvim-macdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashrocket","download_url":"https://codeload.github.com/hashrocket/vim-macdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799961,"owners_count":21163404,"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":["macdown","markdown","vim"],"created_at":"2024-11-08T00:31:31.582Z","updated_at":"2025-04-14T00:17:51.901Z","avatar_url":"https://github.com/hashrocket.png","language":"Vim script","readme":"# macdown.vim\n\n\u003e write markdown in Vim with live-reloads in\n\u003e [MacDown](https://macdown.uranusjr.com/)\n\n## Usage\n\n### Installation\n\nUsing this plugin requires two things:\n\n- You are on a Mac\n- You have [MacDown](https://macdown.uranusjr.com/) installed\n\nTo install `macdown.vim`, use your favorite Vim plugin manager (e.g.\n[Plug](https://github.com/junegunn/vim-plug)):\n\n```vimscript\nPlug 'hashrocket/vim-macdown'\n```\n\n### Commands\n\n* `\u003cleader\u003ep` (`\\p` with default vim config)\n* `:MacDownPreview` to open the current file in MacDown\n* `:MacDownClose` to close MacDown\n* `:MacDownExit` to close MacDown, but wait for the close to finish before returning focus to Vim (Necessary while exiting vim)\n* `:MacDownOff` to disable this plugin during the current vim session\n* `:MacDownOn` to enable (default) this plugin during the current vim session\n\nMake some edits to a markdown file and then hit `\u003cleader\u003ep` to view a\npreview in Macdown.\n\n### .vimrc\n\nAdd the following to your `.vimrc`:\n\n#### On save for .md files\n\n```vimscript\n\" execute commands on filetype save\nautocmd BufWritePost *.md exec :MacDownPreview\n```\n\n#### On close .md file\n\n```vimscript\n\" Enable closing MacDown when ':q' closes the current file, but doesn't\n\" exit vim from vim-macdown plugin\nautocmd BufWinLeave *.md :MacDownClose\n```\n\n#### On close .md file and exit vim\n\n```vimscript\n\" Enable closing MacDown when ':q' exits vim from vim-macdown plugin\nautocmd VimLeavePre *.md :MacDownExit\n```\n\n## License\n\nmacdown.vim is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n\n---\n\n## About\n\n[![Hashrocket logo](https://hashrocket.com/hashrocket_logo.svg)](https://hashrocket.com)\n\nmacdown.vim is supported by the team at [Hashrocket, a multidisciplinary\ndesign and development consultancy](https://hashrocket.com). If you'd like\nto [work with us](https://hashrocket.com/contact-us/hire-us) or [join our\nteam](https://hashrocket.com/contact-us/jobs), don't hesitate to get in\ntouch.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashrocket%2Fvim-macdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashrocket%2Fvim-macdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashrocket%2Fvim-macdown/lists"}