{"id":13652828,"url":"https://github.com/FelixKratz/SketchyVim","last_synced_at":"2025-04-23T03:31:35.355Z","repository":{"id":37537561,"uuid":"458331451","full_name":"FelixKratz/SketchyVim","owner":"FelixKratz","description":"Adds all vim moves and modes to macOS text fields","archived":false,"fork":false,"pushed_at":"2024-03-16T07:27:24.000Z","size":8575,"stargazers_count":698,"open_issues_count":18,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-10T03:35:45.596Z","etag":null,"topics":["accessibility","input","keyboard-shortcuts","macos","text","vim"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FelixKratz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"felixkratz"}},"created_at":"2022-02-11T20:30:00.000Z","updated_at":"2024-11-09T19:24:07.000Z","dependencies_parsed_at":"2024-11-10T03:31:44.835Z","dependency_job_id":"10e9a0c5-d58e-42ba-a049-e5a0b510e200","html_url":"https://github.com/FelixKratz/SketchyVim","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixKratz%2FSketchyVim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixKratz%2FSketchyVim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixKratz%2FSketchyVim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixKratz%2FSketchyVim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FelixKratz","download_url":"https://codeload.github.com/FelixKratz/SketchyVim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250365616,"owners_count":21418715,"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":["accessibility","input","keyboard-shortcuts","macos","text","vim"],"created_at":"2024-08-02T02:01:03.137Z","updated_at":"2025-04-23T03:31:30.343Z","avatar_url":"https://github.com/FelixKratz.png","language":"C","funding_links":["https://ko-fi.com/felixkratz"],"categories":["System-wide","C"],"sub_categories":[],"readme":"# SketchyVim\nThis small project turns accessible(!) input fields on macOS into full vim\nbuffers. It should behave and feel like native vim, because, under the hood\nI synchronize the text field with a real vim buffer.\n\n![demo](https://user-images.githubusercontent.com/22680421/153753171-e818d40b-4d72-4b88-9719-d1e36d16dec0.gif)\n\nYou can use all modes (even commandline etc.) and all commands included in vim.\n\nIt is also possible to load a custom `svimrc` file, which can contain\ncustom vim configurations, e.g. remappings (see the examples folder).\n\nAdditionally, you can edit the `blacklist` file in the `~/.config/svim/` folder\nto manually exclude applications from being handled by svim.\nYou will likely want to blacklist your terminal emulator and gvim, such that there\nis no conflict.\n\nEvery time the vim mode changes, or a commandline update is issued, the script\n`svim.sh` in the folder `~/.config/svim/` is executed where you can handle \nhow you want to process this information. I have a small popup in my [SketchyBar](https://github.com/FelixKratz/SketchyBar)\nwhich shows me the command line output on demand for example.\n\n(!): Accessible means, that the input field needs to conform to the accessibility\n     standards for text input fields, else there is nothing we can do.\n\n## Installation\nYou can install this using brew from my tap:\n```bash\nbrew tap FelixKratz/formulae\nbrew install svim\n```\nand then you can start the brew service using:\n```\nbrew services start svim\n```\nwhere you will be asked to grant accessibility permissions.\n\nYou can change the macOS selection color to anything you like with this command (which is my green):\n```bash\ndefaults write NSGlobalDomain AppleHighlightColor -string \"0.615686 0.823529 0.454902\"\n```\n\n## Issues\nPlease tell me if you encounter issues.\n\nKnown Issues:\n-------------\n* Multikey remappings are not recognized (e.g. jk for esc)\n* Some text fields break the accessibility api and this leads to bugs,\n  be sure to blacklist all apps that are affected by this.\n  Sometimes it helps to switch to a \"raw\" or \"markdown\" editing mode on websites,\n  such that there is no interference.\n  Generally, Safari seems to make most text fields available, while Firefox does not.\n* Comments in svimrc break the config (#18)\n\n## Contributions\nPull requests are welcome. If you improve the code for your own use, consider creating\na pull request, such that all people (including me) can enjoy those improvements.\n\n## Credits\n* I use the libvim library which is a compact and minimal c library for the vim core.\n* Many prior projects tried to accomplish a similar vision by rebuilding the vim\n  movements by hand, those have inspired me to create this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFelixKratz%2FSketchyVim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFelixKratz%2FSketchyVim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFelixKratz%2FSketchyVim/lists"}