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

cheat_sh

by gauravk-in ST2/ST3

A sublime plugin for cht.sh

Details

Installs

  • Total 9
  • Win 4
  • OS X 3
  • Linux 2
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 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5
Windows 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 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
OS X 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2 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

cheat.sh-sublime-plugin

How To Install

  1. To install this plugin, clone this repository in the Packages folder of your Sublime Text 3 installation and rename the folder as CheatSheet. Hint : You can open the Packages folder from “Preferences -> Browse Packages”.
git clone https://github.com/gauravk-in/cheat.sh-sublime-plugin.git CheatSheet
  1. Then using the Package Control plugin, install the missing dependencies. To do this, you must open the Command Palette from “Tools -> Command Palette” and write “Package Control: Satisfy Dependencies”.
  2. You can open the console from “View -> Show Console” to check for any errors.

Meanwhile, we are working on publishing this plugin using Package Control, which will make it easy to install and update. Stay tuned for updates on this.

Demos

Show top 3 answers in a new tab

  1. Press “Cmd + cs” to launch the input panel in Sublime Text.
  2. Enter your query and press Enter.
  3. A new tab will be opened, and the top 3 best answers for the query will be listed in this page.

Preview

Insert answer directly in the editor

  1. Press “Cmd + ci” to launch the input panel in Sublime Text.
  2. Enter your query and press Enter.
  3. The answer will be pasted in the open editor.

Preview

Replace the query text with answer in editor

  1. Write your query string.
  2. Select the query string.
  3. Press “Cmd + cr” to replace the selected query string by the answer generated from cht.sh.

Preview

Note

  1. On Windows and Linux the “Cmd” key is replaced by “Ctrl” key.
  2. To get answers without comments, use “Alt” key in place of “Cmd” or “Ctrl”.