Skip to content

Instantly share code, notes, and snippets.

View jawwad's full-sized avatar

Jawwad Ahmad jawwad

View GitHub Profile
/* ~/Library/KeyBindings/DefaultKeyBinding.dict */
// curl -o 'https://gist.githubusercontent.com/jawwad/4461d8a27747b8561bc758b119b1e967/raw' -o ~/Library/KeyBindings/DefaultKeyBinding.dict
// wget 'https://gist.githubusercontent.com/jawwad/4461d8a27747b8561bc758b119b1e967/raw' -O ~/Library/KeyBindings/DefaultKeyBinding.dict
// quit app for change to take effect
{
"~f" = "moveWordForward:";
"~b" = "moveWordBackward:";
"~d" = "deleteWordForward:";
"~F" = "moveWordRightAndModifySelection:"; /* ~$f or $~f doesn't work */
"~B" = "moveWordLeftAndModifySelection:";
#!/usr/bin/env python
import argparse
from email.policy import default
import os
import pathlib
import re
import shutil
import subprocess
import sys