Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Shell script for use in Keyboard Maestro macro to mimic "QuickCursor" with Sublime Text
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
You can’t perform that action at this time.