{"id":51053355,"url":"https://github.com/moltinginstar/xsampa.nvim","last_synced_at":"2026-06-22T19:03:22.035Z","repository":{"id":346206166,"uuid":"1188640232","full_name":"moltinginstar/xsampa.nvim","owner":"moltinginstar","description":"An X-SAMPA ↔ IPA converter for Neovim.","archived":false,"fork":false,"pushed_at":"2026-03-22T19:15:40.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-23T10:54:14.461Z","etag":null,"topics":["conlanging","ipa","linguistics","neovim","nvim","phonetics","phonology","vim","xsampa"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/moltinginstar.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-22T11:30:09.000Z","updated_at":"2026-03-22T19:15:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/moltinginstar/xsampa.nvim","commit_stats":null,"previous_names":["moltinginstar/xsampa.nvim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/moltinginstar/xsampa.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fxsampa.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fxsampa.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fxsampa.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fxsampa.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moltinginstar","download_url":"https://codeload.github.com/moltinginstar/xsampa.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fxsampa.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34661709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["conlanging","ipa","linguistics","neovim","nvim","phonetics","phonology","vim","xsampa"],"created_at":"2026-06-22T19:03:21.825Z","updated_at":"2026-06-22T19:03:22.024Z","avatar_url":"https://github.com/moltinginstar.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xsampa.nvim\n\nAn X-SAMPA ↔ IPA converter for Neovim.\n\n\u003cimg width=\"631\" height=\"170\" alt=\"IPA to X-SAMPA\" src=\"https://github.com/user-attachments/assets/f2857d18-8338-4f24-9202-4e0c974339ca\" /\u003e\n\n## Installation\n\n### `lazy.nvim`\n\n```lua\n\n{\n  \"moltinginstar/xsampa.nvim\",\n  opts = {},\n}\n```\n\n### Manual\n\n1. Clone the repository into your Neovim package directory, for example:\n\n   ```sh\n   git clone https://github.com/moltinginstar/xsampa.nvim ~/.local/share/nvim/site/pack/moltinginstar/start/xsampa.nvim\n   ```\n\n2. Add the following line to your `init.lua`:\n\n   ```lua\n   require(\"xsampa\").setup()\n   ```\n\n## Example keybindings\n\n```lua\nlocal xsampa = require(\"xsampa\")\n\nvim.keymap.set(\"i\", \"\u003cC-'\u003e\", function()\n  xsampa.open_converter({ from = \"xsampa\" })\nend, { desc = \"Open X-SAMPA to IPA converter\" })\nvim.keymap.set(\"n\", \"\u003cleader\u003exi\", function()\n  xsampa.open_converter({\n    from = \"xsampa\",\n  })\nend, { desc = \"Open X-SAMPA to IPA converter\" })\nvim.keymap.set(\"x\", \"\u003cleader\u003exi\", function()\n  xsampa.open_converter({\n    from = \"xsampa\",\n    selection = true,\n  })\nend, { desc = \"Open X-SAMPA to IPA converter for selection\" })\n\nvim.keymap.set(\"x\", \"\u003cleader\u003exy\", function()\n  xsampa.copy_selection({ from = \"xsampa\" })\nend, { desc = \"Convert selection from X-SAMPA to IPA and copy\" })\nvim.keymap.set(\"x\", \"\u003cleader\u003exr\", function()\n  xsampa.replace_selection({ from = \"xsampa\" })\nend, { desc = \"Convert selection from X-SAMPA to IPA in place\" })\n\nvim.keymap.set(\"i\", \"\u003cM-'\u003e\", function()\n  xsampa.open_converter({ from = \"ipa\" })\nend, { desc = \"Open IPA to X-SAMPA converter\" })\nvim.keymap.set(\"n\", \"\u003cleader\u003exI\", function()\n  xsampa.open_converter({\n    from = \"ipa\",\n  })\nend, { desc = \"Open IPA to X-SAMPA converter\" })\nvim.keymap.set(\"x\", \"\u003cleader\u003exI\", function()\n  xsampa.open_converter({\n    from = \"ipa\",\n    selection = true,\n  })\nend, { desc = \"Open IPA to X-SAMPA converter for selection\" })\n\nvim.keymap.set(\"x\", \"\u003cleader\u003exY\", function()\n  xsampa.copy_selection({ from = \"ipa\" })\nend, { desc = \"Convert selection from IPA to X-SAMPA and copy\" })\nvim.keymap.set(\"x\", \"\u003cleader\u003exR\", function()\n  xsampa.replace_selection({ from = \"ipa\" })\nend, { desc = \"Convert selection from IPA to X-SAMPA in place\" })\n```\n\n## Commands\n\n- `:XSampa [xsampa|ipa]`: open interactive converter\n- `:[range]XSampaConvert [xsampa|ipa]`: convert range and copy result\n- `:[range]XSampaConvert! [xsampa|ipa]`: convert range in place\n\n`xsampa` is used by default if not provided.\n\n## Using the interactive converter\n\n- `\u003cTab\u003e` and `\u003cS-Tab\u003e` to switch fields\n- `\u003cCR\u003e` to confirm\n- `\u003cEsc\u003e` to return to normal mode\n- `\u003cEsc\u003e` again or `q` to cancel\n\nThe focused field is the source of truth. Editing one side will normalize the other into the plugin's canonical form.\n\nThe interactive panel uses the `xsampa` filetype. If you want to disable plugin behavior (e.g., autocomplete) inside the panel, target that filetype in your config. For example, with `nvim-autopairs`:\n\n```lua\nrequire(\"nvim-autopairs\").setup({\n  disable_filetype = { \"TelescopePrompt\", \"spectre_panel\", \"snacks_picker_input\", \"xsampa\" },\n})\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoltinginstar%2Fxsampa.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoltinginstar%2Fxsampa.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoltinginstar%2Fxsampa.nvim/lists"}