{"id":20174282,"url":"https://github.com/guiltydolphin/tex-headings-vim","last_synced_at":"2026-03-04T21:30:50.469Z","repository":{"id":85554695,"uuid":"44625305","full_name":"GuiltyDolphin/tex-headings-vim","owner":"GuiltyDolphin","description":"Vim plugin for changing (La)TeX section headers.","archived":false,"fork":false,"pushed_at":"2015-11-19T17:00:57.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T05:09:21.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VimL","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/GuiltyDolphin.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}},"created_at":"2015-10-20T18:05:10.000Z","updated_at":"2016-07-29T14:42:51.000Z","dependencies_parsed_at":"2023-03-13T05:54:49.836Z","dependency_job_id":null,"html_url":"https://github.com/GuiltyDolphin/tex-headings-vim","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/GuiltyDolphin/tex-headings-vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Ftex-headings-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Ftex-headings-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Ftex-headings-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Ftex-headings-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuiltyDolphin","download_url":"https://codeload.github.com/GuiltyDolphin/tex-headings-vim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiltyDolphin%2Ftex-headings-vim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30093689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T20:42:30.420Z","status":"ssl_error","status_checked_at":"2026-03-04T20:42:30.057Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-14T01:42:10.275Z","updated_at":"2026-03-04T21:30:49.212Z","avatar_url":"https://github.com/GuiltyDolphin.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"TeX-headings-vim\n================\n\nVim plugin for modifying (La)TeX section headers.\n\nAvailable on [GitHub](https://www.github.com/GuiltyDolphin/tex-headings-vim)\n\n\nInstalling\n----------\n\nIf you have [Vundle](https://www.github.com/VundleVim/Vundle.vim),\nthen just add `Plugin 'guiltydolphin/tex-headings-vim'` to the\nplugin section of your vimrc.\n\nSetup\n-----\n\nTo use the plugin, simply map some keys to\n`:call TeXHeaderHigher()` and `:call TeXHeaderLower()`.\n\nFor example:\n\n```\naugroup TeXHeaderBinds\n  au FileType tex nnoremap \u003cbuffer\u003e \u003clocalleader\u003ehh :call TeXHeaderHigher()\u003cCR\u003e\n  au FileType tex nnoremap \u003cbuffer\u003e \u003clocalleader\u003ehl :call TeXHeaderLower()\u003cCR\u003e\naugroup END\n```\n\nThe `g:tex_headings_update_refs` variable controls how references\nare handled.\n\n0. Do nothing with references of the section.\n1. Update references without asking.\n2. Update references, but ask before each one.\n\nNote that if a section has the label `\\label{sec:foo}`, then\nanything that matches `\\\u003csec:foo\\\u003e` is considered a reference.\n\nExample\n-------\n\nUsing the bindings defined above, and\n`g:tex_headings_update_refs` set to 1:\n\nWith the text:\n\n```\n... some text ...\n\n\\section{foo}\n\\label{sec:foo}\n\n... some text ...\n\u003cCURSOR\u003e\n\n... Section~\\ref{sec:foo}\n```\n\nUsing `\u003clocalleader\u003ehl` would result in\n\n```\n... some text ...\n\n\\subsection{foo}\n\\label{sub:foo}\n\n... some text ...\n\u003cCURSOR\u003e\n\n... Section~\\ref{sub:foo}\n```\n\nLicense\n-------\n\nCopyright (c) 2015 GuiltyDolphin (Ben Moon)\n\nLicensed under GNU GPLv3 - see the `LICENSE` file for more\ninformation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiltydolphin%2Ftex-headings-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguiltydolphin%2Ftex-headings-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiltydolphin%2Ftex-headings-vim/lists"}