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

Mac​Dictionary

by Goto Hayato ST3 OS X

📚 A Sublime Text 3 package which provides a popup function for the MacOS dictionary service.

Labels mac, dictionary

Details

Installs

  • Total 186
  • Win 0
  • OS X 186
  • Linux 0
Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5
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 0 0 0 0 0 0 0 0
OS X 0 0 0 0 1 0 0 1 0 1 0 0 0 2 0 2 1 0 0 0 2 0 1 0 0 1 0 1 0 1 0 0 0 0 1 0 1 0 0 0 1 1 2 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

Readme

Source
raw.​githubusercontent.​com

MacDictionary

A Sublime Text 3 package which provides a popup function for the MacOS dictionary service.

SublimeMacDictionary capture

Dependencies

This package depends on Sublime Markdown Popups (mdpopups). You don't need to install it separately since it's automatically installed when you use Package Control to install this package.

Installation

It's easy to install this package with Package Control. If you haven't installed Package Control yet, first install it following the instruction.

Once you've installed Pacakge Control, restart your Sublime Text and open the command palette (ctrl/cmd + shift + p). Then, find and select Package Control: Install Package. You will see MacDictionary in the list and select it.

Usage

SublimeMacDictionary animated capture

Commands

This package provides the following command.

  • MacDictionary: Show definition

You can run a command with the command palette (ctrl/cmd + shift + p).

Context menu (right click menu)

Or, you can use the context menu item Show definition to open the definition popup.

Brute mode

Additionally, you can use a mode named brute_mode with which the package tries to generate a popup aggressively every time when you move your mouse cursor. With the mode enabled, you don't need to call the command.

SublimeMacDictionary animated capture for brute mode

Of course, the mode is disabled by default. You can enable it through the package settings:

{
  "brute_mode": true
}

License

Licensed under the MIT license.