Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Pressing ⌅ to open a URL also works when caret is at the end

Previously when caret was placed immediately after a URL, the key would not work to open it. This is fixed by looking at the caret’s left scope as well as the right one.
  • Loading branch information...
commit e37fd810cd735032cfc4cae5c102e5a4b27e9a2f 1 parent 2d3180b
@infininight infininight authored sorbits committed
17 Commands/Open Current URL.tmCommand
@@ -1,25 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
- <string>open "$(cat)"
+ <string>#!/bin/bash
+exec open "$(cat)"
+ <key>inputFormat</key>
+ <string>text</string>
<string>Open Current URL</string>
- <key>output</key>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
- <string> -</string>
+ <string>( | -</string>
+ <key>version</key>
+ <integer>2</integer>
2  Commands/Open Issue Link.tmCommand
@@ -37,7 +37,7 @@ end
- <string></string>
+ <string> |</string>
Please sign in to comment.
Something went wrong with that request. Please try again.