{"id":13652718,"url":"https://github.com/xrisk/preview-vim","last_synced_at":"2025-04-23T03:31:17.669Z","repository":{"id":54872464,"uuid":"274571961","full_name":"xrisk/preview-vim","owner":"xrisk","description":"vim bindings for macOS Preview.app via Karabiner","archived":false,"fork":false,"pushed_at":"2021-01-24T06:27:05.000Z","size":6,"stargazers_count":55,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-19T11:44:37.137Z","etag":null,"topics":["karabiner-elements","pdf-viewer","vim","vim-bindings"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xrisk.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}},"created_at":"2020-06-24T04:08:43.000Z","updated_at":"2025-03-25T22:19:33.000Z","dependencies_parsed_at":"2022-08-14T05:20:31.053Z","dependency_job_id":null,"html_url":"https://github.com/xrisk/preview-vim","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/xrisk%2Fpreview-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xrisk%2Fpreview-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xrisk%2Fpreview-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xrisk%2Fpreview-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xrisk","download_url":"https://codeload.github.com/xrisk/preview-vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250365520,"owners_count":21418700,"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":["karabiner-elements","pdf-viewer","vim","vim-bindings"],"created_at":"2024-08-02T02:01:01.997Z","updated_at":"2025-04-23T03:31:16.921Z","avatar_url":"https://github.com/xrisk.png","language":null,"funding_links":[],"categories":["PDF Viewers"],"sub_categories":[],"readme":"# vim bindings for macOS Preview.app\n\nThis is a [Karabiner](https://karabiner-elements.pqrs.org) rule that binds **vim** movement keys in Preview, so you can scroll using the keyboard.\n\n## Why\n\nZathura looks like shit.\n\n## How to use\n\n1. Install Karabiner.\n2. Copy `preview-vim.json` to `~/.config/karabiner/assets/complex_modifications`\n3. Enable the rule from the complex modifications pane.\n\n## Keybindings\n\n### Movements:\n\n- Left =\u003e `h`\n- Right =\u003e `l`\n- Down =\u003e `j`\n- Up =\u003e `k`\n- Previous position =\u003e `H`\n- Next position =\u003e `L`\n- Previous page =\u003e `K`\n- Next page =\u003e `J`\n- First page =\u003e `g`\n- Last page =\u003e `G`\n\n### Zoom:\n\n- Zoom In =\u003e `=`\n- Zoom Out =\u003e `-`\n- Actual size =\u003e `0`\n- Zoom to fit =\u003e `9`\n\n## Contributors\n\nThanks to [Daniel Rivas](https://github.com/DanielRivasMD) for contributing substantial functionality!\n\n## Todo\n\n- [ ] make more zathura-like\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxrisk%2Fpreview-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxrisk%2Fpreview-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxrisk%2Fpreview-vim/lists"}