Command C Actions and Bookmarklets
Drafts
⌘c
command-c://x-callback-url/copyText?text=[[selection]]&deviceIndex=0&x-success=
⌘c.o
command-c://x-callback-url/copyAndOpenURL?url=[[clipboard]]&deviceIndex=0&x-success=
Launch
(untitled)
command-c://x-callback-url/copy?deviceIndex=0&x-success=
open
command-c://x-callback-url/copyAndOpenURL?url=[clipboard]&deviceIndex=0&x-success=
Bookmarklets
o.chrome
javascript:location.href=%22googlechrome%22+location.href.substring(4);
o.clipboard
javascript:window.location='command-c://x-callback-url/copy?x-success='+encodeURIComponent(window.location)+'&deviceIndex=0'
Clickable URLs in Sublime Text
-
Install Package Control: ⌃` and copy & paste the code in https://sublime.wbond.net/installation
-
Install Clickable Urls package: ⌘⇧P, type in ‘install’ and press ↩, wait for some seconds and a menu will show up, input ‘Clickable Urls’ and press ↩
-
Bind ⌃ left click as the way to click and open URLs in ST3. You can change
control
in the code to any modifier key you like.
echo '[{ "button": "button1", "modifiers": ["control"], "press_command": "open_url" }]'\
> ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Default\ \(OSX\).sublime-mousemap