Guest User

Untitled

a guest
May 16th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment