Skip to content

queue-tip/watupdoc.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status

Wat (is) up (with my external) doc(umentation)

What is it?

A vim plugin to indicate that code is referenced in external systems.

  1. It hightlights lines that are referenced in external systems.
  2. It gives you information on the lines referenced when the cursor is on those lines.
  3. It allows you open the referenced system an external browser.

Here is a demo:

watupdoc

What I am doing:

  1. Opening a file that has a link to it in clubhouse.io
  2. :w the file to trigger the plugin.
  3. Moving the cursor over the lines to show the information at the bottom of the screen.
  4. C-W on the line to open that external reference in a browser.

What problem is being solved?

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.

How to use

All you need to do is store a link to the line of code in a Supported URL Format in a Supported External System.

Supported URL Formats

  • Github

Supported External Systems

  • Clubhouse.io

Prerequisites

  1. curl installed.
  2. File must be in a git repo.

Tested Systems

  1. OS X

Tested VIM

  1. neovim

Thanks

  1. I was new to vimscript and http://bling.github.io/blog/2013/08/16/modularizing-vimscript/ helped me strcture code.
  2. I have used the Ale plugin to learn how to do some stuff: https://github.com/dense-analysis/ale

About

See lines of code that related to stories in your work tracker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 98.2%
  • Ruby 1.5%
  • JavaScript 0.3%