{"id":22686017,"url":"https://github.com/duckwork/electric-cursor","last_synced_at":"2025-04-22T13:22:53.203Z","repository":{"id":85445118,"uuid":"359951034","full_name":"duckwork/electric-cursor","owner":"duckwork","description":"#emacs minor-mode to automatically change the cursor","archived":false,"fork":false,"pushed_at":"2022-01-08T20:59:03.000Z","size":26,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T14:11:49.996Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duckwork.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":"2021-04-20T21:05:57.000Z","updated_at":"2024-05-06T23:04:31.000Z","dependencies_parsed_at":"2023-03-13T05:19:13.093Z","dependency_job_id":null,"html_url":"https://github.com/duckwork/electric-cursor","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckwork%2Felectric-cursor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckwork%2Felectric-cursor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckwork%2Felectric-cursor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckwork%2Felectric-cursor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duckwork","download_url":"https://codeload.github.com/duckwork/electric-cursor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250246747,"owners_count":21398919,"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":[],"created_at":"2024-12-09T22:25:37.521Z","updated_at":"2025-04-22T13:22:53.146Z","avatar_url":"https://github.com/duckwork.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# electric-cursor\n## An Emacs minor-mode to automatically change the cursor\n\n[![MELPA](https://melpa.org/packages/electric-cursor-badge.svg)](https://melpa.org/#/electric-cursor)\n\n`electric-cursor-mode` is a global minor mode that sets up hooks to change the `cursor-type` in Emacs in certain modes.\nThe default is to change the cursor to a block in `overwrite-mode`, and a vertical bar in every other mode.\n\nThe modes and cursor types are defined in the variable `electric-cursor-alist`, an alist with modes in the `car` position and cursor shapes in the `cdr` positions.\nFor example, the default looks like this:\n\n```lisp\n((overwrite-mode . box))\n```\n\nWhen you enable `electric-cursor-mode`, it adds hooks to each mode in `electric-cursor-alist` to set the cursor according to `electric-cursor-alist`.\nThe hooks are removed when you disable `electric-cursor-mode`.\n\n## Install\n\nYou can find `electric-cursor` on [MELPA](https://melpa.org/#/electric-cursor), so it's installable via `package.el`, `straight.el`, or whatever.  Of course, you can also clone this repository and put it somewhere Emacs will know about it.  After that, just do this:\n\n```lisp\n(electric-cursor-mode +1)\n```\n\n## License\n\nThe code in this repository is licensed under the ISC license.  See LICENSE for details.\n\n## Contributing\n\nOpen an issue or send me an email (my email address is in electric-cursor.el's header).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckwork%2Felectric-cursor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduckwork%2Felectric-cursor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckwork%2Felectric-cursor/lists"}