{"id":17681747,"url":"https://github.com/mipmip/vim-nomisa","last_synced_at":"2025-03-30T19:21:09.417Z","repository":{"id":256937081,"uuid":"856863771","full_name":"mipmip/vim-nomisa","owner":"mipmip","description":"Vim/Neovim-plugin - New or edit image in dedicated application from inside a markdown document.","archived":false,"fork":false,"pushed_at":"2024-10-23T13:21:08.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T21:55:48.742Z","etag":null,"topics":["gimp","inkscape","linden-notes","linny","neo","quarto","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mipmip.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":"2024-09-13T10:57:03.000Z","updated_at":"2024-10-23T13:21:12.000Z","dependencies_parsed_at":"2024-12-12T07:24:39.045Z","dependency_job_id":"35d17827-32bf-484d-8d8a-fcdb2639816c","html_url":"https://github.com/mipmip/vim-nomisa","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"0efa5e6f75811ab1c702b9958542400b8c390caa"},"previous_names":["mipmip/vim-nomisa"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fvim-nomisa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fvim-nomisa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fvim-nomisa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fvim-nomisa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mipmip","download_url":"https://codeload.github.com/mipmip/vim-nomisa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246366227,"owners_count":20765652,"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":["gimp","inkscape","linden-notes","linny","neo","quarto","vim","vim-plugin"],"created_at":"2024-10-24T09:12:03.520Z","updated_at":"2025-03-30T19:21:08.769Z","avatar_url":"https://github.com/mipmip.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nomisa - Vim/Neovim Plugin\n\nThis plugin enables you to quickly edit a file in an external explication. If\nthe file does not exist they can be created using templates.\n\n## Why I made this.\n\nI make presentations in markdown (quarto with revealjs). Markdown is perfect\nfor quick braindumps but sometimes I just want an empty canvas to tell my story\nvisually. Placing my cursor on e.g. `![](images/about-nomisa.svg)` and running\n`:Nomisa` will open inkscape with this file. If it does not exist is offers me\na list with svg-templates.\n\nThe same can be configured for any other extension in combination with any\nother application.\n\n## Features\n\n- opens file under the cursor in external application\n- creates file from template if not existing yet\n- makes parent directories is they do not exist\n- extendable with new extensions\n\n## Limitations\n\n- currently only able to detect file paths inside `![]()` markdown image tags.\n\n## Demo\n\nhttps://github.com/user-attachments/assets/b5684adb-b5cb-474f-9663-e74d044f4a03\n\n## Todo\n\n- make small video\n- currenty only one extension template is supported\n \n## Filetypes\n\nAny markdown image filetype can be configured. By default `svg`,`png`, `jpg`\nand `gif` are preconfigured.\n\nShow me a ![](images/typical.jpg).\n\n## Usage\n\n## Installation\n\nInstall with a vim-plugin manager, with Plug:\n\n```\nPlug 'mipmip/vim-nomisa' ,  { 'branch': 'main' }\n```\n\nWith Lazy:\n\n```lualine\n{\n    'mipmip/vim-nomisa',\n}\n```\n\n## Configuration\n\n### Default\n\nNomisa should work out of the box with the configuration below:\n\n```vim\n\n\" path where you templates live\n\n\" - the templates directory has subdirectories per supported extension\n\" - default path is in plugin directory\n\" - path should have an trailing slash\n\nlet g:nomisa_templates_path = s:plugin_path . '/nomisa_templates/'\n\nlet g:nomisa_extension_handlers = {}\n\n\" every extension should have an application configured. You can use complete paths as well.\nlet g:nomisa_extension_handlers.svg = 'inkscape'\nlet g:nomisa_extension_handlers.png = 'gimp'\nlet g:nomisa_extension_handlers.jpg = 'gimp'\nlet g:nomisa_extension_handlers.gif = 'gimp'\n```\n\n### Custom template path\n\nCopy the template dir from the plugin to a directory e.g. in your home dir.\n\n```vim\nlet g:nomisa_templates_path = $HOME . '/my_nomisa_templates/'\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmipmip%2Fvim-nomisa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmipmip%2Fvim-nomisa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmipmip%2Fvim-nomisa/lists"}