{"id":51878180,"url":"https://github.com/nvim-mini/mini.input","last_synced_at":"2026-07-25T08:03:59.923Z","repository":{"id":362510460,"uuid":"1259340056","full_name":"nvim-mini/mini.input","owner":"nvim-mini","description":"Get user input. Part of 'mini.nvim' library. ","archived":false,"fork":false,"pushed_at":"2026-07-07T13:42:38.000Z","size":57,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-17T00:12:24.501Z","etag":null,"topics":["lua","mini-nvim","neovim","neovim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":false,"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/nvim-mini.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-06-04T12:11:43.000Z","updated_at":"2026-07-07T13:44:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nvim-mini/mini.input","commit_stats":null,"previous_names":["nvim-mini/mini.input"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nvim-mini/mini.input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-mini%2Fmini.input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-mini%2Fmini.input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-mini%2Fmini.input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-mini%2Fmini.input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nvim-mini","download_url":"https://codeload.github.com/nvim-mini/mini.input/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-mini%2Fmini.input/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35871588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-25T02:00:06.922Z","response_time":64,"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":["lua","mini-nvim","neovim","neovim-plugin"],"created_at":"2026-07-25T08:03:59.496Z","updated_at":"2026-07-25T08:03:59.915Z","avatar_url":"https://github.com/nvim-mini.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e \u003cimg src=\"https://github.com/nvim-mini/assets/blob/main/logo-2/logo-input_readme.png?raw=true\" alt=\"mini.input\" style=\"max-width:100%;border:solid 2px\"/\u003e \u003c/p\u003e\n\n### Get user input\n\nSee more details in [Features](#features) and [Documentation](doc/mini-input.txt).\n\n---\n\n⦿ This is a part of [mini.nvim](https://nvim-mini.org/mini.nvim) library. Please use [this link](https://nvim-mini.org/mini.nvim/readmes/mini-input) if you want to mention this module.\n\n⦿ All contributions (issues, pull requests, discussions, etc.) are done inside of 'mini.nvim'.\n\n⦿ See [whole library documentation](https://nvim-mini.org/mini.nvim/doc/mini-nvim) to learn about general design principles, disable/configuration recipes, and more.\n\n⦿ See [MiniMax](https://nvim-mini.org/MiniMax) for a full config example that uses this module.\n\n---\n\nIf you want to help this project grow but don't know where to start, check out [contributing guides of 'mini.nvim'](https://nvim-mini.org/mini.nvim/CONTRIBUTING) or leave a Github star for 'mini.nvim' project and/or any its standalone Git repositories.\n\n## Demo\n\n\u003c!-- Demo source: https://github.com/nvim-mini/assets/blob/main/demo/demo-input.mp4 --\u003e\nhttps://github.com/user-attachments/assets/949968dc-220f-4a2b-bc96-e553f2c05de4\n\n**Note**: This demo uses custom `vim.notify` from [mini.notify](https://nvim-mini.org/mini.nvim/readmes/mini-notify).\n\n## Features\n\n- Get user input with fully customizable key and view handling.\n\n- Built-in configurable views as floating window, statusline/tabline/winbar, virtual line/text.\n\n- Implementation is non-blocking but waits to return the input. It also works in any mode without requiring mode change. See `:h MiniInput-lifecycle`.\n\n- `vim.ui.input()` implementation. To adjust, use `MiniInput.ui_input()` or save-restore `vim.ui.input` manually after calling `MiniInput.setup()`.\n\nFor more information see these parts of help:\n\n- `:h MiniInput.get()`\n- `:h MiniInput.default_key()`\n- `:h MiniInput-state`\n- `:h MiniInput-examples`\n- `:h MiniInput-in-other-plugins` (for plugin authors)\n\n## Installation\n\nThis plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.\n\nThere are two branches to install from:\n\n- `main` (default, **recommended**) will have latest development version of plugin. All changes since last stable release should be perceived as being in beta testing phase (meaning they already passed alpha-testing and are moderately settled).\n- `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.\n\nHere are code snippets for some common installation methods (use only one):\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e(Recommended)\u003c/b\u003e With \u003ca href=\"https://neovim.io/doc/user/helptag.html?tag=vim.pack\"\u003evim.pack\u003c/a\u003e (on Neovim 0.12 and newer)\u003c/summary\u003e\n\n**Full library**\n\nFollow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).\n\n**Standalone plugin**\n\nMain branch:\n\n```lua\nvim.pack.add({ 'https://github.com/nvim-mini/mini.input' })\n```\n\nStable branch:\n\n```lua\nvim.pack.add({\n  { src = 'https://github.com/nvim-mini/mini.input', version = 'stable' },\n})\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eWith \u003ca href=\"https://nvim-mini.org/mini.nvim/readmes/mini-deps\"\u003emini.deps\u003c/a\u003e (before Neovim 0.12)\u003c/summary\u003e\n\n**Full library**\n\nFollow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).\n\n**Standalone plugin**:\n\nMain branch:\n\n```lua\nadd('nvim-mini/mini.input')\n```\n\nStable branch:\n\n```lua\nadd({ source = 'nvim-mini/mini.input', checkout = 'stable' })\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eWith \u003ca href=\"https://github.com/folke/lazy.nvim\"\u003efolke/lazy.nvim\u003c/a\u003e\u003c/summary\u003e\n\n**Full library**\n\nFollow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).\n\n**Standalone plugin**\n\nMain branch:\n\n```lua\n{ 'nvim-mini/mini.input', version = false },\n```\n\nStable branch:\n\n```lua\n{ 'nvim-mini/mini.input', version = '*' },\n```\n\n\u003c/details\u003e\n\n**Important**: don't forget to call `require('mini.input').setup()` to enable its functionality.\n\n**Note**: if you are on Windows, there might be problems with too long file paths (like `error: unable to create file \u003csome file name\u003e: Filename too long`). Try doing one of the following:\n\n- Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.\n- Install plugin in other place with shorter path.\n\n## Default config\n\n```lua\n-- No need to copy this inside `setup()`. Will be used automatically.\n{\n  -- Functions that control input lifecycle\n  handlers = {\n    -- Compute completion candidates\n    complete = nil,\n\n    -- Compute highlighting of current input\n    highlight = nil,\n\n    -- Handle input start, every key press, and input end\n    key = nil,\n\n    -- Show current input state\n    view = nil,\n  },\n\n  -- Default input scope: cursor/line/buffer/window/tabpage/editor/project\n  scope = 'editor',\n}\n```\n\n## Similar plugins\n\n- [folke/snacks.nvim#input](https://github.com/folke/snacks.nvim/blob/main/docs/input.md)\n- Built-in [input()](https://neovim.io/doc/user/helptag.html?tag=input())\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvim-mini%2Fmini.input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnvim-mini%2Fmini.input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvim-mini%2Fmini.input/lists"}