A vim plugin to indicate that code is referenced in external systems.
- It hightlights lines that are referenced in external systems.
- It gives you information on the lines referenced when the cursor is on those lines.
- It allows you open the referenced system an external browser.
Here is a demo:
What I am doing:
- Opening a file that has a link to it in clubhouse.io
:w
the file to trigger the plugin.- Moving the cursor over the lines to show the information at the bottom of the screen.
C-W
on the line to open that external reference in a browser.
You have discussions around nice to have features and you say something like "Next time we change this code we should update this method." Now you have another problem: how do you track that work? This plugin is an attempt to solve that problem.
All you need to do is store a link to the line of code in a Supported URL Format
in a Supported External System
.
- Github
- Clubhouse.io
curl
installed.- File must be in a
git
repo.
- OS X
- neovim
- I was new to vimscript and http://bling.github.io/blog/2013/08/16/modularizing-vimscript/ helped me strcture code.
- I have used the Ale plugin to learn how to do some stuff: https://github.com/dense-analysis/ale