{"id":18980668,"url":"https://github.com/sublimetext/scrolloffset","last_synced_at":"2025-04-19T19:13:37.833Z","repository":{"id":66974254,"uuid":"2458599","full_name":"SublimeText/ScrollOffset","owner":"SublimeText","description":null,"archived":false,"fork":false,"pushed_at":"2015-03-04T02:36:40.000Z","size":165,"stargazers_count":18,"open_issues_count":2,"forks_count":2,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-29T12:11:10.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SublimeText.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-26T06:38:15.000Z","updated_at":"2023-04-28T16:28:52.000Z","dependencies_parsed_at":"2023-02-20T15:45:47.135Z","dependency_job_id":null,"html_url":"https://github.com/SublimeText/ScrollOffset","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/SublimeText%2FScrollOffset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FScrollOffset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FScrollOffset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FScrollOffset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SublimeText","download_url":"https://codeload.github.com/SublimeText/ScrollOffset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249239340,"owners_count":21235846,"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-11-08T16:07:28.479Z","updated_at":"2025-04-16T12:31:11.741Z","avatar_url":"https://github.com/SublimeText.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ScrollOffset\n============\nScrollOffset automatically scrolls the buffer when the insertion point gets near the edge, similar to how vim's scrolloff works. ScrollOffset works with multiple selections, and you can change how far from the edge you'd like to stay.\n\nThis Plugin is implemented using Layout-Coordinates, so it also works when you have `word_wrap` enabled.\n\nWhen you use multiple selections which do not fit into the viewport, Sublimes default behviour is used. This might change in future versions - you find a `TODO` in the code where to add the logic for such behaviour.\n\n\nIgnoring Mouse Input\n--------------------\nScrollOffset runs whenever the selection changes. If you would like to ignore mouse input for ScrollOffset purposes, you must also install [MouseEventListener](https://github.com/SublimeText/MouseEventListener). Once MouseEventListener is installed, ScrollOffset will automatically start ignoring mouse input.\n\nHowever, selecting more than the viewport can display still feels a bit awkward. Since Sublime does not offer a possibility to detect\nmouse dragging, one can not implement Sublimes default behaviour when it comes to those kind of selections. Just try it out whether it's\na hassle for you.\n\n\nInstall\n-------\n\nThis plugin is available through Package Control, which is available here:\n\n    http://wbond.net/sublime_packages/package_control\n\nAs mentioned above, installing [MouseEventListener](https://github.com/SublimeText/MouseEventListener) is good idea.\n\n\nManual Install\n--------------\n\nGo to your Packages subdirectory under ST2's data directory:\n\n* Windows: %APPDATA%\\Sublime Text 2\n* OS X: ~/Library/Application Support/Sublime Text 2\n* Linux: ~/.config/sublime-text-2\n* Portable Installation: Sublime Text 2/Data\n\nThen clone this repository:\n\n    git clone git://github.com/Wolff09/ScrollOffset.git\n\nThat's it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimetext%2Fscrolloffset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsublimetext%2Fscrolloffset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimetext%2Fscrolloffset/lists"}