Skip to content

Instantly share code, notes, and snippets.

Andrea ataiya

Block or report user

Report or block ataiya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ataiya
ataiya / configure_osx.sh
Last active Mar 22, 2018
Customize macOS
View configure_osx.sh
# Turns of motion when swapping workspaces
defaults write com.apple.universalaccess reduceMotion -bool true
# Changes mouse direction
defaults write com.apple.swipescrolldirection -bool false
# Finally apply all changes
killall Dock
@ataiya
ataiya / DefaultKeyBinding.dict
Last active Jul 22, 2018
Changes shortcuts in OSX to have similar behavior to Linux
View DefaultKeyBinding.dict
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
Based on: https://gist.github.com/trusktr/1e5e516df4e8032cbc3d
System file: /System/Library/Frameworks/AppKit.framework/Resources/StandardKeyBinding.dict
Official info: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html
Complex example: https://github.com/ttscoff/KeyBindings/blob/master/DefaultKeyBinding.dict
NOTE:
To use Control instead of Command, either swap Control and
Command in Apple->System Preferences->Keyboard->Modifier Keys...
You can’t perform that action at this time.