Giter VIP home page Giter VIP logo

tags-generator.vim's Introduction

tags-generator.vim

Tags-generator is a plugin that asynchronous execute ctags / gtags command for neovim / Vim8.

Requirements

  • Vim 8.0 or above or Neovim.
  • ctags command in $PATH
  • gtags command in $PATH (optional support)

Install

For vim-plug

Plug 'r-hata/tags-generator.vim'

Usage

The plugin has the following commands. See Configuration for how to specify options.

  • :GenerateTags

  • :GenerateGTAGS

    This command can be used when gtags command is enabled.

Key mappings

  • <Plug>(tags-generator)

    Generate tags with ctags command.

  • <Plug>(tags-generator-g)

    Generate GTAGS with gtags command.

The following key mappings will NOT be defined if it's already mapped, or g:tags_generator_no_default_key_mappings has been set to 1.

nmap <Leader>t <Plug>(tags-generator)
nmap <Leader>g <Plug>(tags-generator-g)

Configuration

Tags-generator can specify options for executing ctags / gtags.

tags_command

  • Default: ctags -R

    This command is used for main tags generation.

    let g:tags_command = '{CTAGS} -R {OPTION} {DIRECTORY}'

gtags_command

  • Default: gtags

    This command is used for main GTAGS generation.

    let g:gtags_command = '{GTAGS} {OPTION} {DIRECTORY}'

tags-generator.vim's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.