Created
December 3, 2014 05:21
-
-
Save waltonjones/e19eddb0e6e1e81843e1 to your computer and use it in GitHub Desktop.
Shell script for use in Keyboard Maestro macro to mimic "QuickCursor" with Sublime Text
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
export __CF_USER_TEXT_ENCODING=0x1F5:0x8000100:0x8000100 | |
TMPFILE=`mktemp /tmp/XXXXXX` | |
/usr/bin/pbpaste > $TMPFILE | |
echo $TMPFILE | |
~/bin/subl -w $TMPFILE:10000000:10000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment