All Projects → ozelentok → denite-gtags

ozelentok / denite-gtags

Licence: MIT License
Denite source for GNU Global

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to denite-gtags

Indent Blankline.nvim
Indent guides for Neovim
Stars: ✭ 203 (+651.85%)
Mutual labels:  neovim, neovim-plugin
nvim context vt
Virtual text context for neovim treesitter
Stars: ✭ 193 (+614.81%)
Mutual labels:  neovim, neovim-plugin
Vim Vsnip
Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
Stars: ✭ 224 (+729.63%)
Mutual labels:  neovim, neovim-plugin
spellsitter.nvim
Treesitter powered spellchecker
Stars: ✭ 251 (+829.63%)
Mutual labels:  neovim, neovim-plugin
nvim-lsp-compl
A fast and asynchronous auto-completion plugin for Neovim >= 0.5, focused on LSP.
Stars: ✭ 46 (+70.37%)
Mutual labels:  neovim, neovim-plugin
Nvim Go
Go development plugin for Neovim written in pure Go
Stars: ✭ 207 (+666.67%)
Mutual labels:  neovim, neovim-plugin
nvim-ghost.nvim
👻 GhostText plugin for Neovim with zero dependencies 🎉 Supports neovim running inside WSL too! 🥳 Windows/Linux/macOS supported out-of-the-box! 😄 (Other OSes need python3.6+ installed)
Stars: ✭ 32 (+18.52%)
Mutual labels:  neovim, neovim-plugin
Vim Packager
Vim plugin manager that utilizes "jobs" and "pack" features.
Stars: ✭ 197 (+629.63%)
Mutual labels:  neovim, neovim-plugin
lir.nvim
Neovim file explorer
Stars: ✭ 194 (+618.52%)
Mutual labels:  neovim, neovim-plugin
Comment.nvim
🧠 💪 // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
Stars: ✭ 796 (+2848.15%)
Mutual labels:  neovim, neovim-plugin
Lsp Status.nvim
Utility functions for getting diagnostic status and progress messages from LSP servers, for use in the Neovim statusline
Stars: ✭ 201 (+644.44%)
Mutual labels:  neovim, neovim-plugin
virt-column.nvim
Display a character as the colorcolumn
Stars: ✭ 64 (+137.04%)
Mutual labels:  neovim, neovim-plugin
Lualine.nvim
A blazing fast and easy to configure neovim statusline written in pure lua.
Stars: ✭ 198 (+633.33%)
Mutual labels:  neovim, neovim-plugin
Lush.nvim
Define Neovim themes as a DSL in lua, with real-time feedback.
Stars: ✭ 204 (+655.56%)
Mutual labels:  neovim, neovim-plugin
Neovim Ruby
Ruby support for Neovim
Stars: ✭ 202 (+648.15%)
Mutual labels:  neovim, neovim-plugin
Vim Ghost
Vim/Nvim client for GhostText - Edit browser text areas in Vim/Neovim
Stars: ✭ 245 (+807.41%)
Mutual labels:  neovim, neovim-plugin
Deoplete Clang
deoplete.nvim source for C/C++/Obj-C/Obj-C++ with clang-python3
Stars: ✭ 186 (+588.89%)
Mutual labels:  neovim, neovim-plugin
Visual Split.vim
Vim plugin to control splits with visual selections or text objects
Stars: ✭ 190 (+603.7%)
Mutual labels:  neovim, neovim-plugin
nvim-jdtls
Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
Stars: ✭ 282 (+944.44%)
Mutual labels:  neovim, neovim-plugin
close-buffers.nvim
📑 Delete multiple vim buffers based on different conditions
Stars: ✭ 54 (+100%)
Mutual labels:  neovim, neovim-plugin

denite-gtags

denite-gtags is a denite.nvim source for GNU Global

Requirements

  • GNU Global
  • denite.nvim

Installation

For dein.vim

call dein#add('ozelentok/denite-gtags')

Usage

denite-gtags implements the following sources for denite

  • gtags_def - Definition of tag
  • gtags_ref - References to tag
  • gtags_context - Definition/References to tag (based on current tag context)
  • gtags_grep - Grep search of tag
  • gtags_completion - List all tags
  • gtags_file - List all tags in file - (default is current file)
  • gtags_files - List all tags under current directory
  • gtags_path - List all paths in GTAGS file

Key Mapping

Map commands for easier usage

nnoremap <leader>a :DeniteCursorWord -buffer-name=gtags_context gtags_context<cr>
nnoremap <leader>d :DeniteCursorWord -buffer-name=gtags_def gtags_def<cr>
nnoremap <leader>r :DeniteCursorWord -buffer-name=gtags_ref gtags_ref<cr>
nnoremap <leader>g :DeniteCursorWord -buffer-name=gtags_grep gtags_grep<cr>
nnoremap <leader>t :Denite -buffer-name=gtags_completion gtags_completion<cr>
nnoremap <leader>f :Denite -buffer-name=gtags_file gtags_file<cr>
nnoremap <leader>F :Denite -buffer-name=gtags_files gtags_files<cr>
nnoremap <leader>p :Denite -buffer-name=gtags_path gtags_path<cr>

Dynamic Configuration

To set GTAGSROOT and GTAGSDBPATH dynamically, set the following variables per buffer

let b:denite_gtags_root='/path/to/project'
let b:denite_gtags_db_path='/path/to/gtags-db'

Examples

To jump to a tag definition, move the cursor to the tag, press <leader>d or execute the following command:

:DeniteCursorWord gtags_def

Alternatively, enter the tag as an argument

:Denite gtags_def:TAG
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].