{"id":18719974,"url":"https://github.com/mhinz/vim-lookup","last_synced_at":"2025-04-12T14:10:53.750Z","repository":{"id":52808777,"uuid":"79461571","full_name":"mhinz/vim-lookup","owner":"mhinz","description":"Jump to the definition of variables or functions in VimL code.","archived":false,"fork":false,"pushed_at":"2023-04-26T03:24:21.000Z","size":53,"stargazers_count":59,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-26T08:47:38.232Z","etag":null,"topics":["lookup","neovim","search","vim","vim-plugin","viml"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhinz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-01-19T14:32:04.000Z","updated_at":"2025-01-14T12:20:31.000Z","dependencies_parsed_at":"2022-08-22T20:11:12.132Z","dependency_job_id":"2799aa60-11f5-43fc-8676-8202c89e8892","html_url":"https://github.com/mhinz/vim-lookup","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/mhinz%2Fvim-lookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhinz%2Fvim-lookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhinz%2Fvim-lookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhinz%2Fvim-lookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhinz","download_url":"https://codeload.github.com/mhinz/vim-lookup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248578874,"owners_count":21127713,"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":["lookup","neovim","search","vim","vim-plugin","viml"],"created_at":"2024-11-07T13:28:53.448Z","updated_at":"2025-04-12T14:10:53.716Z","avatar_url":"https://github.com/mhinz.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/mhinz/vim-lookup.svg?branch=master)](https://travis-ci.org/mhinz/vim-lookup)\n\n# vim-lookup\n\nThis plugin is meant for VimL programmers. It jumps to definitions of variables,\nfunctions, and commands as if tags were used, without needing a tags file. It simply\nuses your [runtimepath](https://neovim.io/doc/user/options.html#'rtp').\n\n- [x] `s:var`\n- [x] `s:func()`\n- [x] `\u003csid\u003efunc()`\n- [x] `autoload#foo#var`\n- [x] `autoload#foo#func()`\n- [x] `'autoload#foo#func'`\n- [x] `Command`\n\nSometimes a function `foo#func()` is not found in `autoload/foo.vim` but\n`plugin/foo.vim`. This case is handled as well.\n\nIt also works for global functions if they're defined or found in the current\nfile:\n\n- [x] `GlobalFunc()`\n- [x] `g:GlobalFunc()`\n\n### Usage\n\n- Use `lookup#lookup()` to jump to the defintion of the identifier under the\n  cursor.\n- Use `lookup#pop()` (or the default mapping\n  [`\u003cc-o\u003e`](https://github.com/mhinz/vim-galore/#changelist-jumplist)) to jump\n  back.\n\n### Configuration\n\n```viml\nautocmd FileType vim nnoremap \u003cbuffer\u003e\u003csilent\u003e \u003ccr\u003e  :call lookup#lookup()\u003ccr\u003e\n```\n\nAlternatively, you can replace the default mappings Vim uses for\n[tagstack](https://neovim.io/doc/user/tagsrch.html#tag-stack) navigation:\n\n```viml\nautocmd FileType vim nnoremap \u003cbuffer\u003e\u003csilent\u003e \u003cc-]\u003e  :call lookup#lookup()\u003ccr\u003e\nautocmd FileType vim nnoremap \u003cbuffer\u003e\u003csilent\u003e \u003cc-t\u003e  :call lookup#pop()\u003ccr\u003e\n```\n\n### Other useful VimL plugins\n\n- [exception.vim](https://github.com/tweekmonster/exception.vim)\n- [helpful.vim](https://github.com/tweekmonster/helpful.vim)\n- [vim-scriptease](https://github.com/tpope/vim-scriptease)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhinz%2Fvim-lookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhinz%2Fvim-lookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhinz%2Fvim-lookup/lists"}