{"id":22006312,"url":"https://github.com/javiorfo/nvim-renamid","last_synced_at":"2025-05-05T21:51:22.700Z","repository":{"id":233879423,"uuid":"787961992","full_name":"javiorfo/nvim-renamid","owner":"javiorfo","description":"Neovim plugin for LSP rename function in a centered popup","archived":false,"fork":false,"pushed_at":"2024-08-14T02:24:03.000Z","size":18,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-14T03:59:43.310Z","etag":null,"topics":["neovim","neovim-lsp","neovim-plugin","popupwindow","rename"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javiorfo.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-04-17T14:10:46.000Z","updated_at":"2024-08-14T02:24:07.000Z","dependencies_parsed_at":"2024-05-02T15:44:53.831Z","dependency_job_id":"a03cfb93-901c-432d-bb6d-1a4b45ac2fa3","html_url":"https://github.com/javiorfo/nvim-renamid","commit_stats":null,"previous_names":["javiorfo/nvim-renamid","chaosystema/nvim-renamid"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fnvim-renamid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fnvim-renamid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fnvim-renamid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fnvim-renamid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javiorfo","download_url":"https://codeload.github.com/javiorfo/nvim-renamid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584034,"owners_count":21771943,"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":["neovim","neovim-lsp","neovim-plugin","popupwindow","rename"],"created_at":"2024-11-30T01:11:34.182Z","updated_at":"2025-05-05T21:51:22.676Z","avatar_url":"https://github.com/javiorfo.png","language":"Lua","funding_links":["https://www.paypal.com/donate/?hosted_button_id=FA7SGLSCT2H8G"],"categories":[],"sub_categories":[],"readme":"# nvim-renamid\n### Rename in the mid \n*Neovim plugin for LSP rename function in a popup*\n\n## Caveats\n- This is available only using configured LSP languages\n- This plugin has been developed on and for Linux following open source philosophy.\n\n## Installation\n`Packer`\n```lua\nuse {\n    'javiorfo/nvim-renamid',\n    requires = { 'javiorfo/nvim-popcorn' }\n}\n```\n`Lazy`\n```lua\n{ \n    'javiorfo/nvim-renamid',\n    dependencies = { 'javiorfo/nvim-popcorn' }\n    lazy = true,\n    ft = { \"c\", \"java\", \"rust\" }, -- LSP languages\n    opts = {\n        -- This is optional. Only If you want to change default configurations\n        \n        -- Width of popup. Default value 30\n        width = 30,\n        \n        -- Title of popup. Default value \"Rename\".\n        -- The second value is a link to a highlight keyword. Default \"Boolean\" keyword hightlight link\n        title = { \"Rename\", \"Boolean\" },\n        \n        -- Border of popup. Default value \"rounded_corners_border\".\n        -- Other borders: \"simple_border\", \"simple_thick_border\", \"double_border\", \"double_simple_border\" \n        border = \"rounded_corners_border\"\n    }\n}\n```\n\n## Configuration\n#### For Packer, Lazy.nvim is above\n```lua\nrequire'renamid'.setup { \n    -- This is optional. Only If you want to change default configurations\n        \n    -- Width of popup. Default value 30\n    width = 30,\n        \n    -- Title of popup. Default value \"Rename\".\n    -- The second value is a link to a highlight keyword. Default \"Boolean\" keyword hightlight link\n    title = { \"Rename\", \"Boolean\" },\n        \n    -- Border of popup. Default value \"rounded_corners_border\".\n    -- Other borders: \"simple_border\", \"simple_thick_border\", \"double_border\", \"double_simple_border\" \n    border = \"rounded_corners_border\"\n}\n```\n\n## Usage\n- Assuming LSP rename is configured like this:\n```lua\n-- Usual LSP rename mapping\n{ '\u003cleader\u003ern', '\u003ccmd\u003elua vim.lsp.buf.rename()\u003cCR\u003e' }\n\n-- Replace the line above with this:\n{ '\u003cleader\u003ern', '\u003ccmd\u003e:Renamid\u003cCR\u003e' },\n```\n- A centered popup will be opened with the word behind the cursor in *INSERT MODE*, so you can edit it an press `\u003cCR\u003e` to make the change take effect. Double `\u003cESC\u003e` to close the popup without changes.\n\n## Screenshots\n### Simple use\n\n\u003cimg src=\"https://github.com/javiorfo/img/blob/master/nvim-renamid/renamid.gif?raw=true\" alt=\"renamid\"/\u003e\n\n**NOTE:** The colorscheme **nox** from [nvim-nyctophilia](https://github.com/javiorfo/nvim-nyctophilia) is used in this image.\n\n---\n\n### Donate\n- **Bitcoin** [(QR)](https://raw.githubusercontent.com/javiorfo/img/master/crypto/bitcoin.png)  `1GqdJ63RDPE4eJKujHi166FAyigvHu5R7v`\n- [Paypal](https://www.paypal.com/donate/?hosted_button_id=FA7SGLSCT2H8G)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaviorfo%2Fnvim-renamid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaviorfo%2Fnvim-renamid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaviorfo%2Fnvim-renamid/lists"}