MacOS Tips: Difference between revisions

Jump to navigation Jump to search
Created page with "* Use Magnet for snapping windows. * You can use brew cask for app installations * Use /etc/paths.d for paths."
 
No edit summary
Line 2: Line 2:
* You can use brew cask for app installations
* You can use brew cask for app installations
* Use /etc/paths.d for paths.
* Use /etc/paths.d for paths.
* Use Magnet for snapping windows.
* You can use brew cask for app installations
* Use /etc/paths.d for paths.
=== Making home and end navigate in-line ===
<syntaxhighlight>
$ cat > ~/Library/KeyBindings/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
}
</syntaxhighlight>