Skip to content

Instantly share code, notes, and snippets.

@hoorayimhelping
Created September 18, 2015 21:56
Show Gist options
  • Save hoorayimhelping/5d117cbbac7f18c6d2b2 to your computer and use it in GitHub Desktop.
Save hoorayimhelping/5d117cbbac7f18c6d2b2 to your computer and use it in GitHub Desktop.
diff --git a/Default (OSX).sublime-keymap b/Default (OSX).sublime-keymap
new file mode 100644
index 0000000..21d10e8
--- /dev/null
+++ b/Default (OSX).sublime-keymap
@@ -0,0 +1,3 @@
+[
+ { "keys": ["super+shift+r"], "command": "revert" },
+]
diff --git a/install b/install
index 836f49f..6cf2dbb 100755
--- a/install
+++ b/install
@@ -2,19 +2,22 @@
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
-echo "Hello. Moving dotfiles into ~/"
+echo "Hi, this'll just take a minute. About to move dotfiles into ~/"
cp $DIR/{.bashrc,.bash_profile,.gitconfig} ~/
-echo "Sourcing .bashrc"
-
+echo "Finished up. Sourcing .bashrc"
source ~/.bashrc
-echo "Updating Sublime Text Settings"
+
+echo "About to update Sublime Text Settings"
cp $DIR/Preferences.sublime-settings ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/
+cp $DIR/Default\ \(OSX\).sublime-keymap ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/
sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
+echo "Finished updating Sublime"
echo "Updating OS X defaults"
defaults write com.apple.dock mineffect -string suck
defaults write com.apple.dock showhidden -bool YES
killall Dock
+echo "Finished writing OS X defaults. I'm out"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment