sponsor Vim development Vim logo Vim Book Ad

popdef : Displays a list of function and class names in the popup window

 script karma  Rating 1/1, Downloaded by 130  Comments, bugs, improvements  Vim wiki

created by
Teppei Hamada
 
script type
utility
 
description
This plugin displays a list of function and class names in the popup window.
You can move to the selected line from the displayed list. It is useful to get
an overview of the source code.

By default, the following file types are supported: AsciiDoc, C, C++, Go,
Markdown, Perl, Python, Ruby, Rust, Scheme, Vim. File types not supported by
default can be easily added by setting the pattern to the variable `popdef-patterns`.

This plugin was inspired by rdefs.

    https://github.com/knsmr/rdefs

Development: https://github.com/teppey/popdef
 
install details
Place autoload/popdef.vim and plugin/popdef.vim into runtime directory:

    Unix/macOS:
        ~/.vim/autoload/popdef.vim
        ~/.vim/plugin/popdef.vim

    Windows:
        %USERPROFILE%\vimfiles\autoload\popdef.vim
        %USERPROFILE%\vimfiles\plugin\popdef.vim

If you need a help file, place doc/popdef.txt into runtime directory and run
`:helptags ~/.vim/doc` (Unix/macOS) or `:helptags %USERPROFILE%\vimfiles\doc` (Windows).

This plugin is invoked with the command `:PopDef`. To assign the execution of
this command to a keymap, for example, set the following in ~/.vimrc:

    nnoremap <silent> <Leader>d :PopDef<CR>
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
popdef.zip 1.0 2022-07-09 8.2 Teppei Hamada Initial upload
ip used for rating: 3.137.183.14

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github