{"id":31912255,"url":"https://github.com/tsuyoshicho/statuslineupdatetimer.vim","last_synced_at":"2025-10-13T17:59:57.523Z","repository":{"id":43369763,"uuid":"148418926","full_name":"tsuyoshicho/StatuslineUpdateTimer.vim","owner":"tsuyoshicho","description":"vim statusline periodic update plugin; Generic clock function attached.","archived":false,"fork":false,"pushed_at":"2025-06-01T06:58:08.000Z","size":69,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T15:24:46.092Z","etag":null,"topics":["clock","plugin","vim"],"latest_commit_sha":null,"homepage":"https://tsuyoshicho.github.io/StatuslineUpdateTimer.vim/","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/tsuyoshicho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-09-12T03:55:46.000Z","updated_at":"2025-06-01T06:58:09.000Z","dependencies_parsed_at":"2022-07-30T15:08:05.064Z","dependency_job_id":"5dd39d2f-8beb-43b6-a526-8a21fdb388b4","html_url":"https://github.com/tsuyoshicho/StatuslineUpdateTimer.vim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tsuyoshicho/StatuslineUpdateTimer.vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2FStatuslineUpdateTimer.vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2FStatuslineUpdateTimer.vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2FStatuslineUpdateTimer.vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2FStatuslineUpdateTimer.vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsuyoshicho","download_url":"https://codeload.github.com/tsuyoshicho/StatuslineUpdateTimer.vim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2FStatuslineUpdateTimer.vim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016384,"owners_count":26085830,"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-10-13T02:00:06.723Z","response_time":61,"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":["clock","plugin","vim"],"created_at":"2025-10-13T17:59:50.120Z","updated_at":"2025-10-13T17:59:57.515Z","avatar_url":"https://github.com/tsuyoshicho.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StatuslineUpdateTimer : vim statusline periodic update plugin\n\n[![DeepWiki](https://img.shields.io/badge/DeepWiki-tsuyoshicho%2FStatuslineUpdateTimer.vim-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/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ki badge generated by https://deepwiki.ryoppippi.com/ --\u003e\n\n## attached\n- Generic clock function - Common usage:statusline clock\n\n## Installation\n\n### [dein](https://github.com/Shougo/dein.vim)\nAdd this section in  `dein.toml`.\n\n```toml\n[[plugins]]\nrepo = 'tsuyoshicho/StatuslineUpdateTimer.vim'\n```\n\n## Usage\nInstall via vim or plugin manager.\n\nVim statusline is updated automatically.\n\n### Commands\n\nWhen manually start.\n\n```vim\n:StatuslineUpdateStart\n```\n\nAnd then manually stop.\n\n```vim\n:StatuslineUpdateStop\n```\n\n### Option variable\n\n```vim\ng:StatuslineUpdateTimer#enable\n```\n\nPlugin enable/disable.\nSet as before plugin load.\n\ndefault value: `1`(enable) .\n\n```vim\ng:StatuslineUpdateTimer#updatetime\n```\n\nStatusline update interval.\nSet as before plugin load.\n\ndefault value: same as `updatetime`.\n\n```vim\ng:StatuslineUpdateTimer#adjust_minute\n```\n\nUpdate interval adjust next min+1sec point.\nIf set as enable, `g:StatuslineUpdateTimer#updatetime` are no affect.\n\n```vim\ng:StatuslineUpdateTimer#interval_function\n```\n\nInterval call function. default `redrawstatus!` call\n\n```vim\ng:StatuslineUpdateTimer#clockformat\n```\n\nClock function format(strftime style).\n\ndefault value: `'%m/%d(%a) %H:%M'`.\n\n### Function\n\n```vim\nStatuslineUpdateTimer#clock()\n```\n\nReturn formatted clock string.\n\n```vim\nStatuslineUpdateTimer#emoji_clock()\n```\n\nReturn emoji clock string.\n\n### Use-case\n\n#### case 1. statusline direct setting\nWrite to `.vimrc`.\n\n```vim\nset statusline=%{StatuslineUpdateTimer#clock()}\n```\n\n#### case 2. lightline at dein\nWhen use [dein](https://github.com/Shougo/dein.vim) plugin manager and [lightline](https://github.com/itchyny/lightline.vim) plugin,\nwrite to `dein.toml`.\n\n```toml\n[[plugins]]\nrepo = 'itchyny/lightline.vim'\ndepends = ['StatuslineUpateTimer.vim']\nhook_add = '''\n  let g:lightline = {\n      \\ 'colorscheme': 'solarized',\n      \\ 'active': {\n      \\   'left': [\n      \\     [ 'mode', 'paste' ],\n      \\     [ 'readonly', 'filename', 'modified' ]\n      \\   ],\n      \\   'right': [\n      \\     ['clock'],\n      \\     ['lineinfo', 'percent'],\n      \\     ['fileformat', 'fileencoding', 'filetype'],\n      \\   ]\n      \\ },\n      \\ 'component_function': {\n      \\   'clock': 'StatuslineUpdateTimer#clock',\n      \\ },\n      \\ }\n'''\n```\n\n#### case 3. sky-color-clock.vim\nSetting : see [mopp/sky-color-clock.vim](https://github.com/mopp/sky-color-clock.vim)\n\n## Limitation\n\nBuffer refreshed by timer.\nAs a result, opening splash-string,multiline message disappears.\n\n## Author\n- Tsuyoshi CHO (https://github.com/tsuyoshicho)\n\n## License\nThis software is released under the MIT License, see LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuyoshicho%2Fstatuslineupdatetimer.vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsuyoshicho%2Fstatuslineupdatetimer.vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuyoshicho%2Fstatuslineupdatetimer.vim/lists"}