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

cheat_sh

by gauravk-in ALL

A sublime plugin for cht.sh

Details

Installs

  • Total 485
  • Win 177
  • Mac 152
  • Linux 156
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 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 1 0 0 1 0 0 0 0
Mac 0 0 0 0 0 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 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 1 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”.