Skip to content

Instantly share code, notes, and snippets.

View dsvyrjm's full-sized avatar

alloha125 dsvyrjm

View GitHub Profile
@dsvyrjm
dsvyrjm / DefaultKeyBinding.dict
Last active November 8, 2020 00:20 — forked from lenalebt/DefaultKeyBinding.dict
How to use a typical Linux / Windows Keybinding on MacOS (tested with 10.15.6 Catalina)
/*
PUT THIS FILE IN ~/Library/KeyBindings/DefaultKeyBinding.dict
HOW TO CREATE THIS FILE
sudo mkdir ~/Library/KeyBindings/
sudo touch ~/Library/KeyBindings/DefaultKeyBinding.dict
sudo cmod 644 ~/Library/KeyBindings/DefaultKeyBinding.dict
sudo chown itSme ~/Library/KeyBindings/DefaultKeyBinding.dict # assumes your username="itSme"
AND THAN EDIT FILE
open -e ~/Library/KeyBindings/DefaultKeyBinding.dict