{"id":16995482,"url":"https://github.com/azeirah/nvim-redux","last_synced_at":"2025-09-02T20:47:36.639Z","repository":{"id":70925413,"uuid":"458901246","full_name":"Azeirah/nvim-redux","owner":"Azeirah","description":"NVim integration for redux using telescope and ripgrep","archived":false,"fork":false,"pushed_at":"2022-02-23T22:39:23.000Z","size":635,"stargazers_count":17,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T04:56:29.240Z","etag":null,"topics":["nvim","nvim-plugin","nvim-telescope","nvim-treesitter","redux"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/Azeirah.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":"2022-02-13T18:52:14.000Z","updated_at":"2024-06-12T15:12:06.000Z","dependencies_parsed_at":"2023-03-22T07:18:53.895Z","dependency_job_id":null,"html_url":"https://github.com/Azeirah/nvim-redux","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/Azeirah%2Fnvim-redux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azeirah%2Fnvim-redux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azeirah%2Fnvim-redux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azeirah%2Fnvim-redux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azeirah","download_url":"https://codeload.github.com/Azeirah/nvim-redux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525162,"owners_count":21118617,"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":["nvim","nvim-plugin","nvim-telescope","nvim-treesitter","redux"],"created_at":"2024-10-14T03:48:48.625Z","updated_at":"2025-04-12T05:40:38.924Z","avatar_url":"https://github.com/Azeirah.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nvim-redux\n\nSimplify navigation in redux projects with telescope.\n\nTreesitter queries written intelligently to find redux-related code in your entire project in milliseconds.\n\n- ✔️ List `dispatch(...)` calls in your entire project\n- ✔️ List your reducer action definitions\n    - ✔️ Raw definitions in switch cases\n    - ✔️ redux-toolkit action definitions\n\n## Dependencies\n\nripgrep needs to be available on your system.\n\n`use 'nvim-telescope/telescope.nvim`\n\n## Install\n\nNote: this doesn't work on any stable release of neovim currently due to a bug in neovim's treesitter api.\nThe only way this plugin can work right now is by building neovim yourself. This is as of 13th of February 2022.\n\nConfirmed to work with neovim 0.7.0 `NVIM v0.7.0-dev+1070-gf89f4b1e1`\n\n`use 'Azeirah/nvim-redux'`\n\n## Setup\n\nNo configuration or setup needed. All you have to do is configure your keybindings.\n\n```vimscript\n# lrd = locate, redux, dispatch\nnmap \u003cleader\u003elrd :lua require('nvim-redux').list_dispatch_calls()\u003cCR\u003e\n# lra = locate, redux, action\nnmap \u003cleader\u003elra :lua require('nvim-redux').list_actions_in_switch_reducer()\u003cCR\u003e\n```\n\n## Functionality\n\n### List dispatch calls in telescope\n\n![Displays example of dispatch listing in telescope](dispatch_calls.png)\n\nSearches your project for calls to `dispatch(...)`.\n\n**nvim-redux.list_dispatch_calls**\n\n### List redux action definitions in telescope\n\n![Displays example of action definition listing in telescope](action_definitions.png)\n\nFinds all redux action definitions. Supports both raw action definitions as well as reducers defined in slices using react toolkit.\n\n```javascript\n// Find raw actions\nswitch (action.type) {\n    case 'this_is_an_action_that_will_be_found':\n        break;\n}\n\n// Reducer actions defined using redux-toolkit are also supported!\nconst someSlice = createSlice({\n    ...\n    reducers: {\n        youCanFindMe: state =\u003e {...},\n        andMe(state) {...}\n    }\n});\n```\n\n**nvim-redux.list_actions_in_switch_reducer**\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazeirah%2Fnvim-redux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazeirah%2Fnvim-redux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazeirah%2Fnvim-redux/lists"}