{"id":47234286,"url":"https://github.com/barklan/capslock.nvim","last_synced_at":"2026-03-13T21:39:41.288Z","repository":{"id":39963064,"uuid":"493385537","full_name":"barklan/capslock.nvim","owner":"barklan","description":"Software caps lock for Neovim.","archived":false,"fork":false,"pushed_at":"2025-03-30T11:11:29.000Z","size":174,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T12:22:35.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/barklan.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-05-17T19:22:43.000Z","updated_at":"2025-03-30T11:11:32.000Z","dependencies_parsed_at":"2024-04-01T23:35:49.285Z","dependency_job_id":null,"html_url":"https://github.com/barklan/capslock.nvim","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/barklan/capslock.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barklan%2Fcapslock.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barklan%2Fcapslock.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barklan%2Fcapslock.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barklan%2Fcapslock.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barklan","download_url":"https://codeload.github.com/barklan/capslock.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barklan%2Fcapslock.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30476545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T20:45:58.186Z","status":"ssl_error","status_checked_at":"2026-03-13T20:45:20.133Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-03-13T21:39:39.744Z","updated_at":"2026-03-13T21:39:41.250Z","avatar_url":"https://github.com/barklan.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capslock.nvim\n\nSoftware caps lock for Neovim.\n\nWorks in normal, insert and command modes. Normal mode commands, other buffers, and other applications\nare unaffected (e.g. `jk` mapped as `Escape` in insert mode will work with caps lock enabled).\nEspecially useful if caps lock key is acting as another `Ctrl` or `Esc`.\n\n## Installation\n\nNeovim 0.7.0+ required. Example via [lazy.nvim](https://github.com/folke/lazy.nvim):\n\n```lua\n{\n    \"barklan/capslock.nvim\",\n    lazy = true,\n    keys = {\n        { \"\u003cC-l\u003e\", \"\u003cPlug\u003eCapsLockToggle\", mode = { \"i\", \"c\" } },\n        { \"\u003cleader\u003ec\", \"\u003cPlug\u003eCapsLockToggle\", mode = { \"n\" } },\n    },\n    config = true,\n},\n```\n\n## Usage\n\n- When activated in insert or command mode it toggles temporary caps lock.\n  It is automatically disabled after leaving insert mode or command line.\n- When activated in normal mode, it toggles caps lock for both normal and insert modes\n  and doesn't turn off automatically.\n\n## Statusline integration\n\nUse `require(\"capslock\").status_string` function as a status line component to\ndisplay `[CAPS LOCK]` when caps lock is active.\n\n### lualine\n\n```lua\nrequire(\"lualine\").setup({\n    sections = {\n        lualine_x = {\n            { require(\"capslock\").status_string },\n        },\n    },\n})\n```\n\n### feline\n\nSet the function above as a `provider` in status line component.\n\n## Related\n\n- Inspired by tpope's [vim-capslock](https://github.com/tpope/vim-capslock).\n- Unicode support enabled thanks to\n  [ustring](https://github.com/wikimedia/mediawiki-extensions-Scribunto/tree/master/includes/engines/LuaCommon/lualib/ustring)\n  library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarklan%2Fcapslock.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarklan%2Fcapslock.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarklan%2Fcapslock.nvim/lists"}