{"id":16995790,"url":"https://github.com/qtc-de/highlight-line","last_synced_at":"2025-03-22T06:42:11.922Z","repository":{"id":184901077,"uuid":"672652836","full_name":"qtc-de/highlight-line","owner":"qtc-de","description":"highlight specific lines within vi decoupled from visual mode","archived":false,"fork":false,"pushed_at":"2023-07-30T20:19:46.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T07:12:17.224Z","etag":null,"topics":["highlight-lines","highlighting","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qtc-de.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-07-30T20:02:15.000Z","updated_at":"2023-07-30T20:18:27.000Z","dependencies_parsed_at":"2023-07-30T22:01:13.041Z","dependency_job_id":null,"html_url":"https://github.com/qtc-de/highlight-line","commit_stats":null,"previous_names":["qtc-de/highlight-line"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtc-de%2Fhighlight-line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtc-de%2Fhighlight-line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtc-de%2Fhighlight-line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtc-de%2Fhighlight-line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qtc-de","download_url":"https://codeload.github.com/qtc-de/highlight-line/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918589,"owners_count":20531686,"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":["highlight-lines","highlighting","vim","vim-plugin"],"created_at":"2024-10-14T03:50:12.070Z","updated_at":"2025-03-22T06:42:11.900Z","avatar_url":"https://github.com/qtc-de.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"### highlight-line\n\n----\n\n*highlight-line* is a super small vim plugin that allows you to\nhighlight lines in vi. In contrast to visual mode selection, the\nhighlight stays active even when the cursor moves. This makes\nit easier to keep track of important lines that you want to keep\nfocus on.\n\n![image](https://github.com/qtc-de/highlight-line/assets/49147108/43135ba0-deb5-483c-ad13-f7ef4ddb7f69)\n\n\n### Installation\n\n----\n\n*highlight-line* is structured according to vim's plugin specifications\nand can be consumed by vim's native package manager as well as by several\nother tools like *Vundle* or *Pathogen*.\n\nIf you use vim's native package manager, just clone the repository in\neither the `start` or `opt` folder of your vim configuration folder:\n\n```console\n[user@host ~]$ cd ~/.vim/pack/plugins/start/\n[user@host ~/.vim/pack/plugins/start/]$ git clone https://github.com/qtc-de/highlight-line\n```\n\nIf you have chosen the `start` folder, *highlight-line* will be available on\neach startup of vim. If you decided to use the `opt` folder, you have to call\n`:packadd highlight-line` from within vi to enable it.\n\nIf you use an external package manager please read the corresponding manual\non how to add additional plugins.\n\n\n### Usage\n\n----\n\n*highlight-line* defines key mappings with identical functionality for normal\nand visual mode. While the visual mode mappings operate on the data that has been\nselected, the normal mode mappings always operate on the current line.\n\nThe following mappings are currently defined (notice that each key combination needs\nto be prefixed by your `\u003cleader\u003e` key):\n\n\n**Normal Mode Mappings**\n\n| Key       |Description                                                  |\n|:---------:|-------------------------------------------------------------|\n| hh        | Highlight the current line in dark grey                     |\n| hr        | Highlight the current line in dark red                      |\n| hy        | Highlight the current line in dark yellow                   |\n| hg        | Highlight the current line in dark green                    |\n| hb        | Highlight the current line in dark blue                     |\n| H         | Remove highlighting from the current line                   |\n| hc        | Remove highlighting everywhere                              |\n\n\n**Visual Mode Mappings**\n\n| Key       |Description                                                  |\n|:---------:|-------------------------------------------------------------|\n| hh        | Highlight the selected line(s) in dark grey                 |\n| hr        | Highlight the selected line(s) in dark red                  |\n| hy        | Highlight the selected line(s) in dark yellow               |\n| hg        | Highlight the selected line(s) in dark green                |\n| hb        | Highlight the selected line(s) in dark blue                 |\n| H         | Remove highlighting from the selected line(s)               |\n| hc        | Remove highlighting from the selected line(s)               |\n\n\n### Acknowledgments\n\n----\n\n\nThe implementation is basically the same as suggested by [Colin Bartlett](https://vimtricks.com/p/author/cbartlett/)\nin his vimtricks article [Highlight specific lines](https://vimtricks.com/p/highlight-specific-lines/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqtc-de%2Fhighlight-line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqtc-de%2Fhighlight-line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqtc-de%2Fhighlight-line/lists"}