Skip to content

Instantly share code, notes, and snippets.

@frankhefeng
frankhefeng / DefaultKeyBinding.dict
Created Mar 2, 2020
Fix HOME/END keys in MacOS: ~/Library/KeyBindings/DefaultKeyBinding.dict
View DefaultKeyBinding.dict
{
"\UF729" = moveToBeginningOfParagraph:; // home
"\UF72B" = moveToEndOfParagraph:; // end
"$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home
"$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end
"^\UF729" = moveToBeginningOfDocument:; // ctrl-home
"^\UF72B" = moveToEndOfDocument:; // ctrl-end
"^$\UF729" = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home
"^$\UF72B" = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end
}
View keybase.md

Keybase proof

I hereby claim:

  • I am frankhefeng on github.
  • I am frankhe (https://keybase.io/frankhe) on keybase.
  • I have a public key ASBKLobJREiBuOPNNRG7zr4ol6hnwpsHTsorzs9HMVo9Lgo

To claim this, I am signing this object: