Skip to content

Zettelkasten-Method/atom-plumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom plumber package

Send text to the Plan 9 plumber from within Atom. Sends the currently selected text, hyperlink or word under the cursor to the plumber. Web, file and custom linking protocols are supported.

atom-plumber

Requires plumber to be installed and available on your path. Also requires a plumbing file so plumber can interpret the messages you're sending to it from Atom.

Usage

Running plumber:plumb will send the current selection to plumber. If nothing is selected, the current word under the cursor will be sent.

Commands

You can activate the command in several ways:

  • alt-enter
  • alt-click on some text (sometimes alt-click will clear an existing selection. If so, use ctrl-alt-click)
  • Hold alt then make a new selection
  • Right-click and select "Plumb this" from the menu
  • Run "Plumber: Plumb" from the Command Palette

You can make your own keymap in your keymap.cson. Change alt-enter to something else:

'atom-workspace atom-text-editor:not([mini])':
  'alt-enter': 'plumber:plumb'

Contribution

Open an issue if you have any problems, find any bugs or have any suggestions for improvement in the code or plugin architecture. Thanks.