create and insert Gists
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
keymaps
lib
spec
styles
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
README.md
coffeelint.json
package.json

README.md

gist package

create and insert Gists. Build Status

Inspired by condemil/Gist

Features

  • Create Gists
  • Insert Gists
  • Edit existing Gists
  • Delete existing Gists
  • Open browser existing Gists

Commands

  • gist:create-public
  • gist:create-private
  • gist:list

Keymap

edit ~/.atom/keymap.cson

# default
'.select-list.with-action':
  'tab': 'select-list:select-action'

Settings

Personal Access Tokens

  • token (default: '')
  • tokenFile (default: '~/.atom/gist.token')
  • environmentName (default: 'GIST_ACCESS_TOKEN')

Gyazo

Custom Hostname for GitHub Enterprise

  • hostname (default: 'api.github.com')

Usage

Create Gists

  1. Use the gist:create-private or gist:create-public commands.

If you don't have anything selected, a Gist will be created with contents of current file, URL of that Gist will be copied to the clipboard.

Insert Gists

  1. Use the gist:list commands.
  2. Select gist.
  3. Press the enter key.

Edit Gists

  1. Use the gist:list commands.
  2. Select gist.
  3. Press the tab key.
  4. Select Edit action.

Delete Gists

  1. Use the gist:list commands.
  2. Select gist.
  3. Press the tab key.
  4. Select Delete action.

TODO

  • Editing existing Gists
  • Adding new files to existing Gists
  • Caching Gists