Skip to content

Instantly share code, notes, and snippets.

@hoorayimhelping
Created September 18, 2015 21:51
Show Gist options
  • Save hoorayimhelping/5b9792e77ecff8c21093 to your computer and use it in GitHub Desktop.
Save hoorayimhelping/5b9792e77ecff8c21093 to your computer and use it in GitHub Desktop.
diff --git a/.bash_profile b/.bash_profile
index 5d72d4b..55b1157 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -3,7 +3,7 @@ cd ~/
alias ll="ls -lh"
alias la="ls -lha"
-alias mcdiff='git add . && git diff --cached | gist -t diff; git reset .'
+alias mcdiff='git add . && git diff --cached | gist -t diff -o; git reset .'
export PS1="\w>"
export SVN_EDITOR=vim
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..8de9716 100755
--- a/install
+++ b/install
@@ -12,6 +12,7 @@ source ~/.bashrc
echo "Updating 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 "Updating OS X defaults"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment