Skip to content

Instantly share code, notes, and snippets.

View vladak's full-sized avatar

Vladimir Kotal vladak

  • Europe
View GitHub Profile
@vladak
vladak / macos-home-end.md
Last active April 6, 2025 19:55
home/end macOS key bindings

For the home/end keys to work on external USB keyboard in macOS, it is necessary to set key bindings like so:

mkdir ~/Library/KeyBindings && touch ~/Library/KeyBindings/DefaultKeyBinding.dict
cat << EOF > ~/Library/KeyBindings/DefaultKeyBinding.dict
{
  "\UF729"  = moveToBeginningOfParagraph:; // home
  "\UF72B"  = moveToEndOfParagraph:; // end
  "$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home
  "$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end
 "^\UF729" = moveToBeginningOfDocument:; // ctrl-home
@vladak
vladak / LG-DualUp.md
Last active April 10, 2025 11:23
LG DualUp notes