daily pastebin goal
84%
SHARE
TWEET

Untitled

a guest May 16th, 2018 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # create a symbolic link
  2.  
  3. # sublime 2
  4. ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
  5.  
  6. # sublime 3
  7. ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
  8.  
  9. # open file/directory with sublime
  10. subl <file/dir>
  11.  
  12. # enable key repeat for sublime Vintage mode (vim)
  13.  
  14. sublime_domain=$(defaults domains | tr "," "\n" | grep sublime)
  15. # sublime_domain should be com.sublimetext.3
  16. defaults write $sublime_domain ApplePressAndHoldEnabled -bool false
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top