ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Amnesia​IO

by jolyongray ALL

Amnesia.io integration for Sublime Text 3

Details

Installs

  • Total 600
  • Win 456
  • Mac 85
  • Linux 59
Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19
Windows 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Amnesia-io

Amnesia.io integration for Sublime Text 3.

This package allows you to share code via amnesia.io directly from the editor, and copies a share link to your clipboard.

Amnesia.io is an ephemeral code sharing service with nice collaboration and privacy features. Read more about it at https://amnesia.io.

Also available for Atom

Usage

Installation

  • Get from Package Control
  • Or copy into a folder in your Packages directory (under Preferences -> Browse Packages...)

Functionality

The amnesia command by default will share the current selection, or if none and multiple cursors, the active lines, or if one cursor, the entire current file.

You can choose what to share with the following args:

  • file - Share the content of the entire current buffer.
  • selection - Share the current highlighted selection.
  • line - Share the current line.

Default key mappings are as follows:

Windows Linux OSX
Share Selection/Lines/File ctrl-alt-shift-a ctrl-alt-shift-a cmd-alt-shift-a
Share File ctrl-alt-shift-f ctrl-alt-shift-f cmd-alt-shift-f
Share Selection ctrl-alt-shift-s ctrl-alt-shift-s cmd-alt-shift-s
Share Line ctrl-alt-shift-l ctrl-alt-shift-l cmd-alt-shift-l

To edit go to Preferences -> Package Settings -> AmnesiaIO and copy a command from Key Bindings - Default to Key Bindings - User to overwrite it.

Configuration

Settings

Available settings and their default values are shown below.

# How long amnesia.io will hold on to your code snippets in seconds
      ttl: 6000,

      # Syntax highlighting format which will be used if it cannot be discerned
      # from your file name
      defaultFormat: "bash"

Development

To edit, clone into your packages directory and edit AmnesiaIO.py:

git clone https://github.com/jolyongray/amnesia-sublime
  cd amnesia-atom