All Projects ā†’ mhinz ā†’ Vim Lookup

mhinz / Vim Lookup

Jump to the definition of variables or functions in VimL code.

Projects that are alternatives of or similar to Vim Lookup

Vim Startify
šŸ”— The fancy start screen for Vim.
Stars: āœ­ 4,479 (+8682.35%)
Mutual labels:  viml, neovim, vim-plugin
Vim Subversive
Vim plugin providing operator motions to quickly replace text
Stars: āœ­ 168 (+229.41%)
Mutual labels:  search, viml, neovim
Vim Rfc
šŸ““ Query RFC database and download RFCs from within Vim.
Stars: āœ­ 88 (+72.55%)
Mutual labels:  search, neovim, vim-plugin
Blamer.nvim
A git blame plugin for neovim inspired by VS Code's GitLens plugin
Stars: āœ­ 283 (+454.9%)
Mutual labels:  viml, neovim, vim-plugin
Notational Fzf Vim
Notational velocity for vim.
Stars: āœ­ 975 (+1811.76%)
Mutual labels:  search, neovim, vim-plugin
Vim Grepper
šŸ‘¾ Helps you win at grep.
Stars: āœ­ 1,030 (+1919.61%)
Mutual labels:  viml, neovim, vim-plugin
Vim Gnupg
This script implements transparent editing of gpg encrypted files.
Stars: āœ­ 566 (+1009.8%)
Mutual labels:  viml, vim-plugin
Alchemist.vim
Elixir Integration Into Vim
Stars: āœ­ 632 (+1139.22%)
Mutual labels:  neovim, vim-plugin
Vimcompletesme
You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.
Stars: āœ­ 752 (+1374.51%)
Mutual labels:  viml, vim-plugin
Git Messenger.vim
Vim and Neovim plugin to reveal the commit messages under the cursor
Stars: āœ­ 904 (+1672.55%)
Mutual labels:  neovim, vim-plugin
Nnn.vim
File manager for vim/neovim powered by nĀ³
Stars: āœ­ 414 (+711.76%)
Mutual labels:  neovim, vim-plugin
Vim Diff Toggle
šŸ›  Vim plugin to speed up editing diff files
Stars: āœ­ 17 (-66.67%)
Mutual labels:  viml, vim-plugin
Vim Dirvish
Directory viewer for Vim āš”ļø
Stars: āœ­ 929 (+1721.57%)
Mutual labels:  viml, neovim
Vim Markdown Composer
An asynchronous markdown preview plugin for Vim and Neovim.
Stars: āœ­ 501 (+882.35%)
Mutual labels:  neovim, vim-plugin
Tmux Complete.vim
Vim plugin for insert mode completion of words in adjacent tmux panes
Stars: āœ­ 447 (+776.47%)
Mutual labels:  neovim, vim-plugin
Context.vim
Vim plugin that shows the context of the currently visible buffer contents
Stars: āœ­ 688 (+1249.02%)
Mutual labels:  neovim, vim-plugin
Crease.vim
Easy foldtext customization for [neo]vim.
Stars: āœ­ 19 (-62.75%)
Mutual labels:  neovim, vim-plugin
Vimrc
šŸ“ Vim Configuration for nerds with vim-plug
Stars: āœ­ 33 (-35.29%)
Mutual labels:  neovim, vim-plugin
Tskeleton vim
File Templates and Code Skeletons/Snippets for VIM
Stars: āœ­ 33 (-35.29%)
Mutual labels:  viml, vim-plugin
Barbar.nvim
A neovim tabline plugin.
Stars: āœ­ 359 (+603.92%)
Mutual labels:  neovim, vim-plugin

Build Status

vim-lookup

This plugin is meant for VimL programmers. It jumps to definitions of variables or functions, as if tags were used, without needing a tags file. It simply uses your runtimepath.

  • [x] s:var
  • [x] s:func()
  • [x] <sid>func()
  • [x] autoload#foo#var
  • [x] autoload#foo#func()
  • [x] 'autoload#foo#func'

Sometimes a function foo#func() is not found in autoload/foo.vim but plugin/foo.vim. This case is handled as well.

It also works for global functions if they're defined or found in the current file:

  • [x] GlobalFunc()
  • [x] g:GlobalFunc()

Usage

  • Use lookup#lookup() to jump to the defintion of the identifier under the cursor.
  • Use lookup#pop() (or the default mapping <c-o>) to jump back.

Configuration

autocmd FileType vim nnoremap <buffer><silent> <cr>  :call lookup#lookup()<cr>

Alternatively, you can replace the default mappings Vim uses for tagstack navigation:

autocmd FileType vim nnoremap <buffer><silent> <c-]>  :call lookup#lookup()<cr>
autocmd FileType vim nnoremap <buffer><silent> <c-t>  :call lookup#pop()<cr>

Other useful VimL plugins

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].