GithubHelp home page GithubHelp logo

bash-completion-plugins-vimtag's Introduction

NAME

Bash::Completion::Plugins::VimTag - Bash completion plugin for vim tags

DESCRIPTION

This is a Bash::Completion plugin that can complete on tags generated by ctags. My setup places all tags files from different projects in a ~/.ctagsdir directory so vim can know about them regardless of the current directory:

~/.ctagsdir
├── project1
│   └── tags
├── project2
│   └── tags
└── perlbrew
    └── tags

My .vimrc then contains:

set tags+=~/.ctagsdir/*/tags

And .bashrc contains:

alias vit='vi -t'

If you keep your tags in a different directory - for example, your main repository directory -, you can set the CTAGSDIR environment variable to that directory and this plugin will scan the tags files in that directory.

The reason for the perlbrew/tags file shown in the tree above is that I want to have tags for all installed modules, so I generate them with:

find $PERLBREW_ROOT/perls/$PERLBREW_PERL/lib -name \*.pm | \
    ctags -f ~/.ctagsdir/perlbrew/tags --recurse --languages=Perl -L -;

bash-completion-plugins-vimtag's People

Watchers

 avatar  avatar

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.