{"id":15978340,"url":"https://github.com/tandrewnichols/vim-headfirst","last_synced_at":"2025-07-19T21:33:05.276Z","repository":{"id":142028502,"uuid":"150606389","full_name":"tandrewnichols/vim-headfirst","owner":"tandrewnichols","description":"Edit sibling files like a boss","archived":false,"fork":false,"pushed_at":"2025-03-16T22:17:24.000Z","size":8,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T18:11:16.398Z","etag":null,"topics":["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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tandrewnichols.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":"2018-09-27T15:11:16.000Z","updated_at":"2025-03-16T22:17:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"58a01648-c645-4f7c-83fa-6ccc08de972a","html_url":"https://github.com/tandrewnichols/vim-headfirst","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tandrewnichols/vim-headfirst","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tandrewnichols%2Fvim-headfirst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tandrewnichols%2Fvim-headfirst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tandrewnichols%2Fvim-headfirst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tandrewnichols%2Fvim-headfirst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tandrewnichols","download_url":"https://codeload.github.com/tandrewnichols/vim-headfirst/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tandrewnichols%2Fvim-headfirst/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266019657,"owners_count":23864916,"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":["vim","vim-plugin"],"created_at":"2024-10-07T23:08:49.660Z","updated_at":"2025-07-19T21:33:05.253Z","avatar_url":"https://github.com/tandrewnichols.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vim-Headfirst\n\nCommands to quickly open sibling files in vim.\n\n## Overview\n\nThis plugin is a small wrapper around `:e`, `:sp`, `:vsp`, and `:tabe` for editing sibling files. That is, it's comparable to typing `:e %:h/\u003cTab\u003e`, but it also let's you supply multiple files to open.\n\n## Installation\n\nIf you don't have a preferred installation method, I really like vim-plug and recommend it.\n\n#### Manual\n\nClone this repository and copy the files in plugin/, autoload/, and doc/ to their respective directories in your vimfiles, or copy the text from the github repository into new files in those directories. Make sure to run `:helptags`.\n\n#### Plug (https://github.com/junegunn/vim-plug)\n\nAdd the following to your vimrc, or something sourced therein:\n\n```vim\nPlug 'tandrewnichols/vim-headfirst'\n```\n\nThen install via `:PlugInstall`\n\n#### Vundle (https://github.com/gmarik/Vundle.vim)\n\nAdd the following to your vimrc, or something sourced therein:\n\n```vim\nPlugin 'tandrewnichols/vim-headfirst'\n```\n\nThen install via `:BundleInstall`\n\n#### NeoBundle (https://github.com/Shougo/neobundle.vim)\n\nAdd the following to your vimrc, or something sourced therein:\n\n```vim\nNeoBundle 'tandrewnichols/vim-headfirst'\n```\n\nThen install via `:BundleInstall`\n\n#### Pathogen (https://github.com/tpope/vim-pathogen)\n\n```sh\ngit clone https://github.com/tandrewnichols/vim-headfirst.git ~/.vim/bundle/vim-headfirst\n```\n\n## Usage\n\nUsing the following commands to edit sibling files in the corresponding windows. Tab completion works as normal.\n\n### :He/:Hedit\n\nEdit a sibling file in the current window.\n\n```vim\n:He foo.js\n```\n\n### :Hsp/:Hsplit\n\nEdit a sibling file in a split.\n\n```vim\n\" All these commands accept multiple sibling files, although it may not make sense to \":edit\"\n\" multiple files at the same time. It's basically like preloading the additional ones.\n:Hsp foo.js bar.js\n```\n\n### :Hvsp/:Hvsplit\n\nEdit a sibling file in a vertical split.\n\n```vim\n:Hvsp foo.js\n```\n\n### :Htabe/:Htabedit\n\nEdit a sibling file in a new tab.\n\n```vim\n:Htabe foo.js bar.js baz.js\n```\n\n## Contributing\n\nI always try to be open to suggestions, but I do still have opinions about what this should and should not be so . . . it never hurts to ask before investing a lot of time on a patch.\n\n## License\n\nSee [LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftandrewnichols%2Fvim-headfirst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftandrewnichols%2Fvim-headfirst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftandrewnichols%2Fvim-headfirst/lists"}