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

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

The mode is disabled by default. You can enable it through the package settings:

{
  "brute_mode": true
}

You can also use MacDictionary: Switch brute mode in the Command Palette to switch the brute_mode.

License

Licensed under the MIT license.