TextMate Command to Open Dash for Selection/Current Word
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>beforeRunningCommand</key> | |
<string>nop</string> | |
<key>command</key> | |
<string>open "dash://${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}"</string> | |
<key>input</key> | |
<string>none</string> | |
<key>keyEquivalent</key> | |
<string>~ | |
</string> | |
<key>name</key> | |
<string>asd</string> | |
<key>output</key> | |
<string>discard</string> | |
<key>scope</key> | |
<string>source</string> | |
<key>uuid</key> | |
<string>64220D75-8C8E-4E9D-A811-4D265C854FA8</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment