{"id":9406215,"url":"https://github.com/lambdalisue/vim-wifi","last_synced_at":"2025-09-07T21:37:49.440Z","repository":{"id":48389985,"uuid":"71630867","full_name":"lambdalisue/vim-wifi","owner":"lambdalisue","description":"Show wifi information on statusline/tabline of Neovim/Vim","archived":false,"fork":false,"pushed_at":"2021-07-28T15:02:45.000Z","size":23,"stargazers_count":20,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T06:13:58.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/lambdalisue.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}},"created_at":"2016-10-22T09:57:07.000Z","updated_at":"2025-01-14T12:43:01.000Z","dependencies_parsed_at":"2022-08-26T00:13:36.118Z","dependency_job_id":null,"html_url":"https://github.com/lambdalisue/vim-wifi","commit_stats":null,"previous_names":["lambdalisue/vim-wifi","lambdalisue/wifi.vim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdalisue%2Fvim-wifi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdalisue%2Fvim-wifi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdalisue%2Fvim-wifi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdalisue%2Fvim-wifi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambdalisue","download_url":"https://codeload.github.com/lambdalisue/vim-wifi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246273516,"owners_count":20750904,"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-05-10T17:04:15.348Z","updated_at":"2025-03-30T03:42:43.683Z","avatar_url":"https://github.com/lambdalisue.png","language":"Vim script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"wifi.vim\n==============================================================================\n![Version 0.1.0](https://img.shields.io/badge/version-0.1.0-yellow.svg?style=flat-square)\n![Support Neovim 0.1.6 or above](https://img.shields.io/badge/support-Neovim%200.1.6%20or%20above-green.svg?style=flat-square)\n![Support Vim 8.0 or above](https://img.shields.io/badge/support-Vim%208.0.0%20or%20above-yellowgreen.svg?style=flat-square)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)\n[![Doc](https://img.shields.io/badge/doc-%3Ah%20wifi-orange.svg?style=flat-square)](doc/wifi.txt)\n\n![wifi.vim in tabline](https://media.githubusercontent.com/media/lambdalisue/screenshots/master/wifi.vim/tabline_with_lightline.png)\n\n*wifi.vim* is a statusline/tabline component for Neovim/Vim.\nIt uses a job feature of Neovim/Vim to retrieve wifi informations so that the plugin won't block the main thread.\n\n**NOTE: Only for Mac OS X. PR is welcom.**\n\nThe implementation was translated to Vim script from a Bash script found on https://github.com/b4b4r07/dotfiles/blob/master/bin/wifi.\n\n\nInstall\n-------------------------------------------------------------------------------\nUse [junegunn/vim-plug] or [Shougo/dein.vim] like:\n\n```vim\n\" Plug.vim\nPlug 'lambdalisue/wifi.vim'\n\n\" dein.vim\ncall dein#add('lambdalisue/wifi.vim')\n```\n\nOr copy contents of the repository into your runtimepath manually.\n\n[junegunn/vim-plug]: https://github.com/junegunn/vim-plug\n[Shougo/dein.vim]: https://github.com/Shougo/dein.vim\n\n\nUsage\n-------------------------------------------------------------------------------\n\nUse a `wifi#component()` like:\n\n```vim\nset statusline=...%{wifi#component()}...\nset tabline=...%{wifi#component()}...\n```\n\nOr with [itchyny/lightline.vim](https://github.com/itchyny/lightline.vim)\n\n```vim\nlet g:lightline = {\n      \\ ...\n      \\ 'component_function': {\n      \\   ...\n      \\   'wifi': 'wifi#component',\n      \\   ...\n      \\ },\n      \\ ...\n      \\}\n```\n\nAdditionally, assign 1 to corresponding variables to immediately reflect the\nchanges to `statusline` or `tabline`.\n\n```vim\nlet g:wifi#update_tabline = 1    \" If wifi#component() is used in tabline.\nlet g:wifi#update_statusline = 1 \" If wifi#component() is used in statusline.\n```\n\nSee more detail on [wifi.txt](./doc/wifi.txt)\n\n\nSee also\n-------------------------------------------------------------------------------\n\n- [lambdalisue/battery.vim](https://github.com/lambdalisue/battery.vim) - A statusline/tabline component of Neovim/Vim.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdalisue%2Fvim-wifi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdalisue%2Fvim-wifi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdalisue%2Fvim-wifi/lists"}