{"id":23530197,"url":"https://github.com/obcat/vim-sclow","last_synced_at":"2025-09-12T10:41:12.426Z","repository":{"id":54946595,"uuid":"317659766","full_name":"obcat/vim-sclow","owner":"obcat","description":":space_invader: Text-based scrollbar for Vim","archived":false,"fork":false,"pushed_at":"2025-06-27T12:08:54.000Z","size":39,"stargazers_count":39,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-27T13:24:16.790Z","etag":null,"topics":["scrollbar","vim"],"latest_commit_sha":null,"homepage":"https://zenn.dev/obcat/articles/2020-12-vim-sclow","language":"Vim Script","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/obcat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2020-12-01T20:29:03.000Z","updated_at":"2025-06-27T12:08:59.000Z","dependencies_parsed_at":"2025-04-22T17:25:10.405Z","dependency_job_id":"5069325c-6699-475e-bca2-679015d702c7","html_url":"https://github.com/obcat/vim-sclow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/obcat/vim-sclow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obcat%2Fvim-sclow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obcat%2Fvim-sclow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obcat%2Fvim-sclow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obcat%2Fvim-sclow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obcat","download_url":"https://codeload.github.com/obcat/vim-sclow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obcat%2Fvim-sclow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274799773,"owners_count":25352171,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["scrollbar","vim"],"created_at":"2024-12-25T21:16:16.823Z","updated_at":"2025-09-12T10:41:12.412Z","avatar_url":"https://github.com/obcat.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-sclow\n\nText-based scrollbar for Vim.\n\n![sclow eyecatch](https://i.gyazo.com/0e141446f04bf34ecdd3e55ee439a291.gif)\n\n\n## Installation\n\nRequires Vim compiled with `+popupwin` feature (Neovim is not supported).\n\nIf you use [vim-plug](https://github.com/junegunn/vim-plug), add the following\nline to your vimrc:\n\n```vim\nPlug 'obcat/vim-sclow'\n```\n\nYou can use any other plugin manager.\n\n\n## Usage\n\nNo settings are required. A scrollbar will automatically appear on the right\nedge of the current window.\n\n\n### Tip\n\nAs you **move the cursor** and scroll, the scrollbar's position will be updated\nimmediately.\n\nOn the other hand, if you scroll **without moving the cursor** (you can do this\nwith `\u003cC-e\u003e` or `\u003cC-y\u003e` etc.), the scrollbar's position will be updated after\nthe time specified with the `updatetime` option.\n\nThe default value of `updatetime` is `4000`, i.e. 4 seconds. If you want to\nupdate the scrollbar's position as soon as possible, reduce the value of this\noption. I suggest around 100ms:\n\n```vim\nset updatetime=100\n```\n\nNote that `updatetime` also controls the delay before Vim writes its swap file\n(see `:h updatetime`).\n\n\n## Customization\n\nYou can customize some features.\n\n\n### Appearance\n\nTo customize scrollbar's appearance, you can use:\n\n* `g:sclow_sbar_text` (default: `\"\\\u003cSpace\u003e\"`)\n* `SclowSbar` highlight group (default: links to `Pmenu`)\n\nExamples:\n\n![sbar ex 1](https://user-images.githubusercontent.com/64692680/100740863-bb3d0880-341c-11eb-950c-50350e256be6.png)\n\n```vim\nlet g:sclow_sbar_text = '*'\nhighlight link SclowSbar PmenuSel\n```\n\n![sbar ex 2](https://user-images.githubusercontent.com/64692680/100744585-68198480-3421-11eb-9e5a-bd5398b7efa3.png)\n\n```vim\nlet g:sclow_sbar_text = '👾👾'\nhighlight SclowSbar ctermbg=NONE guibg=NONE\n```\n\n📝 I use [iceberg.vim](https://github.com/cocopon/iceberg.vim) for color scheme.\n\nYou can also customize the offset of the scrollbar from the right border of the\nwindow with `g:sclow_sbar_right_offset` (default: `0`). Setting this to `-1`\nhelps to prevent the scrollbar from hiding the rightmost characters of the\nwindow.\n\n### Blocking\n\nTo disable scrollbar in a specific buffer, you can use:\n\n* `g:sclow_block_filetypes` (default: `[]`)\n* `g:sclow_block_buftypes` (default: `[]`)\n\nExample:\n\n```vim\nlet g:sclow_block_filetypes = ['netrw', 'nerdtree']\nlet g:sclow_block_buftypes = ['terminal', 'prompt']\n```\n\n\n### Hiding\n\nBy default, when both the first and last line of the buffer are in the window,\na full-length scrollbar will be shown.\n\n![full-length sbar](https://user-images.githubusercontent.com/64692680/100746502-22aa8680-3424-11eb-9bc3-72d54295a36c.png)\n\nIf you want to hide this, use the following:\n\n```vim\nlet g:sclow_hide_full_length = 1\n```\n\nSee help file for more information.\n\n### Autohiding\n\nBy default the scrollbar will be shown on the screen permanently. If this behavior\nis undesirable, it is possible to automatically hide the scrollbar after a predefined\nperiod of inactivity.\n\nTo make scrollbar disappear after 2000ms set:\n\n```vim\nlet g:sclow_auto_hide = 2000\n```\n\n## License\n\nMIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobcat%2Fvim-sclow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobcat%2Fvim-sclow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobcat%2Fvim-sclow/lists"}