-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command that shows the current configuration
The command “Show Configuration as Tooltip” shows the current mapping between characters – used by “Replace Character (→)” and “Replace Character (←)” – as tooltip.
- Loading branch information
1 parent
31e3b8f
commit e6e1c87
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?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>#!/usr/bin/ruby | ||
# -- Imports ------------------------------------------------------------------- | ||
require ENV['TM_BUNDLE_SUPPORT'] + '/lib/support.rb' | ||
# -- Main ---------------------------------------------------------------------- | ||
print CONFIGURATION.character_map.map { |row| row.chars.join ' ' }.join "\n" | ||
</string> | ||
<key>input</key> | ||
<string>none</string> | ||
<key>inputFormat</key> | ||
<string>text</string> | ||
<key>keyEquivalent</key> | ||
<string>^~@`</string> | ||
<key>name</key> | ||
<string>Show Configuration as Tooltip</string> | ||
<key>outputCaret</key> | ||
<string>afterOutput</string> | ||
<key>outputFormat</key> | ||
<string>text</string> | ||
<key>outputLocation</key> | ||
<string>toolTip</string> | ||
<key>uuid</key> | ||
<string>AC75E9E0-11C9-4DC7-BE46-AFAB82703737</string> | ||
<key>version</key> | ||
<integer>2</integer> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters