{"id":17922485,"url":"https://github.com/gierens/neovim-plugin","last_synced_at":"2026-05-17T18:08:42.452Z","repository":{"id":140300923,"uuid":"571223320","full_name":"gierens/neovim-plugin","owner":"gierens","description":"Sample for a Lua-based Neovim plugin.","archived":false,"fork":false,"pushed_at":"2022-11-27T18:02:57.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T04:09:08.676Z","etag":null,"topics":["example","lua","neovim","neovim-plugin","plugin","sample","todolist","vimscript"],"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/gierens.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":"2022-11-27T15:04:41.000Z","updated_at":"2022-11-27T16:49:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb0316fa-4fa9-4d1b-9062-15029e21b69d","html_url":"https://github.com/gierens/neovim-plugin","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/gierens%2Fneovim-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gierens%2Fneovim-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gierens%2Fneovim-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gierens%2Fneovim-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gierens","download_url":"https://codeload.github.com/gierens/neovim-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970349,"owners_count":20862508,"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":["example","lua","neovim","neovim-plugin","plugin","sample","todolist","vimscript"],"created_at":"2024-10-28T20:39:22.450Z","updated_at":"2026-05-17T18:08:37.409Z","avatar_url":"https://github.com/gierens.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neovim-plugin\nSample for the Neovim plugin written in Lua, based on the Linode tutorial:\nhttps://www.linode.com/docs/guides/writing-a-neovim-plugin-with-lua/ .\n\nThe original repository the article is based on is:\nhttps://github.com/jacobsimpson/nvim-example-lua-plugin .\nIt also contains some helpful hints about Lua in Neovim for example.\n\nThis example Neovim plugin displays and allows you to update a todo list.\nThe todo list is stored in a SQLite 3 database located at `~/.todo.db`.\n\n## Installation\n\n1. Example Plugin requires that you have [SQLite 3](https://www.sqlite.org/index.html) installed on your system.\nOn Linux, you can generally install SQLite 3 using your distribution's package\nmanager. On macOS, you can install it via [Homebrew](https://brew.sh/). And on Windows, use the\nlink above to locate a download for SQLite.\n\n2. Use your favorite Vim or Neovim plugin manager to add Example Plugin.\nWith [vim-plug](https://github.com/junegunn/vim-plug), just add this line to your plugin configuration:\n`Plug 'gierens/neovim-plugin'`.\n\n## Usage\n\nExample Plugin allows you to view and update a list of todo tasks. You can\nuse these commands to interact with the tasks:\n\n- `FetchTodos` shows your current todo tasks.\n- `InsertTodo` lets you add a new task, prompting you for its description.\n- `CompleteTodo` lets you mark a task completed by selecting the task from\n  a list.\n\nYou may want to map these to key bindings for easy access. Here are some\nexample key bindings you can add to your Neovim configuration file:\n\n    nnoremap \u003cLEADER\u003ezf :FetchTodos\u003cCR\u003e\n    nnoremap \u003cLEADER\u003ezi :InsertTodo\u003cCR\u003e\n    nnoremap \u003cLEADER\u003ezc :CompleteTodo\u003cCR\u003e\n\nBy default, the leader key is `\\`, so this would let you access the functions by\npressing **\\\\** followed by **Z** followed by one other key.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgierens%2Fneovim-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgierens%2Fneovim-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgierens%2Fneovim-plugin/lists"}