{"id":20497659,"url":"https://github.com/simrat39/floatline.nvim","last_synced_at":"2025-10-14T20:11:46.991Z","repository":{"id":107727034,"uuid":"427221850","full_name":"simrat39/floatline.nvim","owner":"simrat39","description":"Make 1 global statusline on floating window","archived":false,"fork":false,"pushed_at":"2021-11-12T03:36:28.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-16T06:29:47.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":false,"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/simrat39.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-12T03:36:07.000Z","updated_at":"2022-11-08T10:06:56.000Z","dependencies_parsed_at":"2023-06-08T20:47:37.004Z","dependency_job_id":null,"html_url":"https://github.com/simrat39/floatline.nvim","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/simrat39%2Ffloatline.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simrat39%2Ffloatline.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simrat39%2Ffloatline.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simrat39%2Ffloatline.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simrat39","download_url":"https://codeload.github.com/simrat39/floatline.nvim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242087913,"owners_count":20069722,"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-15T18:11:40.759Z","updated_at":"2025-10-14T20:11:41.960Z","avatar_url":"https://github.com/simrat39.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# floatline.nvim\nMake 1 global statusline on floating window\n\nIt need neovim 0.6 lastest.\nIt is not a statusline plugin. It copy your statusline to floating window\nIt support all statusline plugin.\nI tested vim-airline,lightline.vim,lualine.nvim\n\n## Installation\n\n``` vim\nPlug 'windwp/floatline.nvim'\n```\n\n```lua\n--- Packer\nuse 'windwp/floatline.nvim'\n\n\nrequire('floatline').setup()\n```\n\n## How do I do that?\n\n* create a floating window on bottom\n* use luv(vim.loop) to update text and highlight by extmark.\n\n## custom status.\n```lua\nlocal count = 1\nlocal txt = '%#Visual# shadman so lazy %##'\nrequire('floatline').setup({\n    status = function()\n        local space = string.rep(' ', vim.o.columns - count- 15)\n        if count \u003c vim.o.columns then\n            count = count + 2\n        else\n          return nil\n        end\n        return space .. txt\n    end,\n})\n```\nyou can use it to do something fun or intergation with your plugin statusline\n\n## Issue\n- If you open another tabpage and close the last window by command.\n`:quit or :bdelete :close` . It will throw error so you need to change to use\ncommand `:Wquit and :Wbdelete.`\n\nIssue https://github.com/neovim/neovim/issues/11440 it will not happen if that issue is fixed\nor you can build neovim with PR https://github.com/neovim/neovim/pull/14387\n\n\n- a floating window can overlap some messages from command line mode\n\n## Warning\nfloatline.nvim only copy the statusline to floating window.\nIt can't hide the default statusline on active window because it belong to\nstatusline plugin.\n\n\nIf you want to looking for a statusline support to hide it.\n\nYou can try for better experiences\n* [windline.nvim](https://github.com/windwp/windline.nvim)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimrat39%2Ffloatline.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimrat39%2Ffloatline.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimrat39%2Ffloatline.nvim/lists"}