{"id":22061857,"url":"https://github.com/rocco-gossmann/nvim-taskrunner","last_synced_at":"2025-03-23T17:28:21.508Z","repository":{"id":234380151,"uuid":"788779036","full_name":"Rocco-Gossmann/nvim-taskrunner","owner":"Rocco-Gossmann","description":"A small Plugin, to choose custom functions via Telescope and then execute them.","archived":false,"fork":false,"pushed_at":"2024-04-19T04:38:43.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"v0.1.0","last_synced_at":"2025-01-28T23:29:30.784Z","etag":null,"topics":["functions","lua","macros","neovim","telescope"],"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/Rocco-Gossmann.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-19T04:14:27.000Z","updated_at":"2024-04-21T00:40:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0b880aa-3414-49b3-8d33-533563d53ee7","html_url":"https://github.com/Rocco-Gossmann/nvim-taskrunner","commit_stats":null,"previous_names":["rocco-gossmann/nvim-taskrunner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rocco-Gossmann%2Fnvim-taskrunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rocco-Gossmann%2Fnvim-taskrunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rocco-Gossmann%2Fnvim-taskrunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rocco-Gossmann%2Fnvim-taskrunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rocco-Gossmann","download_url":"https://codeload.github.com/Rocco-Gossmann/nvim-taskrunner/tar.gz/refs/heads/v0.1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245139387,"owners_count":20567170,"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":["functions","lua","macros","neovim","telescope"],"created_at":"2024-11-30T18:15:46.686Z","updated_at":"2025-03-23T17:28:21.482Z","avatar_url":"https://github.com/Rocco-Gossmann.png","language":"Lua","readme":"# NVIM - TaskRunner \n\na simple Plugin, that allows for choosing and starting custom functions via a Telescope List.\n\n## Requires\nhttps://github.com/nvim-telescope/telescope.nvim\nhttps://github.com/nvim-lua/plenary.nvim (dependency of Telescope)\n\n## Usage\nOnce installed, vim gets a new command called `TR`.\nSo simply type `:TR` in normal mode and your configured list will open.\n\n\n## Configuration\nSpeaking of configured list. You configure that list during the setup process.\n\nvia Lazy.nvim (https://github.com/folke/lazy.nvim) that setup would look like this.\n```lua\n{\n    \"rocco-gossmann/nvim-taskrunner\",\n    dependencies = { 'nvim-lua/plenary.nvim', 'nvim-telescope/telescope.nvim' },\n    init = function()\n\n        require(\"nvim-taskrunner\").setup({\n            --[[ Define your tasks in here, each task is one entry ]]--\n\n            {\n                --[[ The `label` is shown in Telescope ]]--\n                label = \"Go return err nil\",\n\n\n                --[[ `action` is a function, that is executed, when you\n                              choose the task via Telescope \n                ]]\n                action = function()\n                    vim.api.nvim_put({\n                        \"if err != nil {\", \n                        \"\\treturn err\",\n                        \"}\" \n                    }, \"\", true, false)\n                end\n\n                --[[ \n                    The `action` can also be a VIM-Macro-String, (executed via vim.cmd.normal)\n                    type `:h normal` in NeoVim to get more info on how the \n                    syntax of these strings works.\n\n                    All Macros start from Normal mode.\n\n                    A Macro-Action may look like this: \n\n                    action = \"oif err != nil {^[oreturn err^[o}^[o\",\n\n                    the ` ^[ ` is the \u003cESC\u003e character.  you must input that via \u003cC-v\u003e\u003cESC\u003e\n                    (Just copying this string will not work)\n                ]]--\n            },\n        })\n    end\n\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocco-gossmann%2Fnvim-taskrunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocco-gossmann%2Fnvim-taskrunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocco-gossmann%2Fnvim-taskrunner/lists"}