All Projects → preservim → Tagbar

preservim / Tagbar

Licence: other
Vim plugin that displays tags in a window, ordered by scope

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to Tagbar

Hot Reload.vim
A (Neo)vim plugin for Flutter to automatically hot reload the project every time a file is saved
Stars: ✭ 33 (-99.38%)
Mutual labels:  neovim, vim-plugins
Targets.vim
Vim plugin that provides additional text objects
Stars: ✭ 2,114 (-60.28%)
Mutual labels:  neovim, vim-plugins
Vim Follow My Lead
Vim plugin for showing all your <Leader> mappings in a readable table including the descriptions.
Stars: ✭ 100 (-98.12%)
Mutual labels:  neovim, vim-plugins
Django Plus.vim
🎸 Improvements to the handling of Django related files in Vim
Stars: ✭ 145 (-97.28%)
Mutual labels:  neovim, vim-plugins
Vim Plugins Profile
🕓 Profile Vim's plugins, generate awesome statistics and optimize (n)vim startup time
Stars: ✭ 508 (-90.45%)
Mutual labels:  neovim, vim-plugins
Context.vim
Vim plugin that shows the context of the currently visible buffer contents
Stars: ✭ 688 (-87.07%)
Mutual labels:  neovim, vim-plugins
Tmux Complete.vim
Vim plugin for insert mode completion of words in adjacent tmux panes
Stars: ✭ 447 (-91.6%)
Mutual labels:  neovim, vim-plugins
Alchemist.vim
Elixir Integration Into Vim
Stars: ✭ 632 (-88.12%)
Mutual labels:  neovim, vim-plugins
Vim Packager
Vim plugin manager that utilizes "jobs" and "pack" features.
Stars: ✭ 197 (-96.3%)
Mutual labels:  neovim, vim-plugins
Visual Split.vim
Vim plugin to control splits with visual selections or text objects
Stars: ✭ 190 (-96.43%)
Mutual labels:  neovim, vim-plugins
Vim Dadbod Completion
Database autocompletion powered by https://github.com/tpope/vim-dadbod
Stars: ✭ 163 (-96.94%)
Mutual labels:  neovim, vim-plugins
Vim Dadbod Ui
Simple UI for https://github.com/tpope/vim-dadbod
Stars: ✭ 315 (-94.08%)
Mutual labels:  neovim, vim-plugins
Bullets.vim
🔫 Bullets.vim is a Vim/NeoVim plugin for automated bullet lists.
Stars: ✭ 199 (-96.26%)
Mutual labels:  neovim, vim-plugins
Evervim
A Modern, Powerful & Modular Vim Distribution
Stars: ✭ 568 (-89.33%)
Mutual labels:  neovim, vim-plugins
Falcon
A colour scheme for terminals, Vim and friends.
Stars: ✭ 483 (-90.92%)
Mutual labels:  neovim
Comfortable Motion.vim
Brings physics-based smooth scrolling to the Vim world!
Stars: ✭ 543 (-89.8%)
Mutual labels:  neovim
Ivim
I love Vim, and I also love modifying it to be more convenient and efficient. So I name it "ivim"! Welcome to contribute to ivim.
Stars: ✭ 476 (-91.06%)
Mutual labels:  neovim
Vim Chat
💜 Chatting plugin for neovim and vim8
Stars: ✭ 475 (-91.07%)
Mutual labels:  neovim
Dotfiles
💾 Ian's dotfiles, utils, and Zsh/Vim/tmux configs
Stars: ✭ 554 (-89.59%)
Mutual labels:  vim-plugins
Coc Python
Python extension for coc.nvim, fork of vscode-python
Stars: ✭ 542 (-89.82%)
Mutual labels:  neovim

Tagbar: a class outline viewer for Vim

Vint Check

What Tagbar is

Tagbar is a Vim plugin that provides an easy way to browse the tags of the current file and get an overview of its structure. It does this by creating a sidebar that displays the ctags-generated tags of the current file, ordered by their scope. This means that for example methods in C++ are displayed under the class they are defined in.

What Tagbar is not

Tagbar is not a general-purpose tool for managing tags files. It only creates the tags it needs on-the-fly in-memory without creating any files. tags file management is provided by other plugins, like for example easytags.

Dependencies

  • Vim >= 7.3.1058 or any version of NeoVim.

  • A ctags implementation: We highly recommend any version of Universal Ctags. It is a maintained fork of Exuberant Ctags with many bugfixes, support for many more formats, and proper Unicode support.

    Exuberant Ctags 5.5 or higher works to some degree but will be deprecated eventually.

    Some additional formats can also be handled by other providers such as jsctags or phpctags.

Installation

Extract the archive or clone the repository into a directory in your 'runtimepath', or use a plugin manager of your choice like pathogen. Don't forget to run :helptags if your plugin manager doesn't do it for you so you can access the documentation with :help tagbar.

If the ctags executable is not installed in one of the directories in your $PATH environment variable you have to set the g:tagbar_ctags_bin variable, see the documentation for more info.

Quickstart

Put something like the following into your ~/.vimrc:

nmap <F8> :TagbarToggle<CR>

If you do this the F8 key will toggle the Tagbar window. You can of course use any shortcut you want. For more flexible ways to open and close the window (and the rest of the functionality) see the documentation using :help tagbar.

Support for additional filetypes

For filetypes that are not supported by Exuberant Ctags check out the wiki to see whether other projects offer support for them and how to use them. Please add any other projects/configurations that you find or create yourself so that others can benefit from them, too.

Note: If the file structure display is wrong

If you notice that there are some errors in the way your file's structure is displayed in Tagbar, please make sure that the bug is actually in Tagbar before you report an issue. Since Tagbar uses exuberant-ctags and compatible programs to do the actual file parsing, it is likely that the bug is actually in the program responsible for that filetype instead.

There is an example in :h tagbar-issues about how to run ctags manually so you can determine where the bug actually is. If the bug is actually in ctags, please report it on their website instead, as there is nothing I can do about it in Tagbar. Thank you!

You can also have a look at ctags bugs that have previously been filed against Tagbar.

Screenshots

screenshot1 screenshot2

License

Tagbar is distributed under the terms of the Vim license, see the included LICENSE file.

Contributors

Tagbar was originally written by Jan Larres. It is actively maintained by Caleb Maclennan and David Hegland. At least 75 others have contributed features and bug fixes over the years. Please document issues or submit pull requests on Github.

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].