iOS

Text manipulation in iOS 13

Short summary of what worked best for me:

  • Move cursor: Tap, then drag the cursor to where you want it to be
  • Select a word: double-tap
  • Select all: tap then tap again
  • Select a chunk of text: long-press then slide
  • cut / copy / paste : Tap with 3 fingers
  • Undo : Slide to the left with 3 well-spaced fingers
  • Redo: Slide to the right with 3 well spaced fingers

Longer Summary:

  • Tap will only take you to start/end of word, not middle
  • To move cursor, tap and then drag
    • or another way to get into the middle of a word:
    • tap, then tap again to get Select menu, then long-press in the middle of the word
    • (doesn't work very consistently for me though)
  • Selecting / Pasting:
    • To get Select / Select All / Paste, tap then tap again
    • Or double-tap to select a word
    • Or long-press a word (but not too hard)
    • Long-press and slide to select a chunk of text
    • There's supposed to be stuff about triple-tapping to select a sentence and quadruple-tapping to select a paragraph, but I can't get it to work any more than baout one in ten times.
  • Copy / Cut / Paste
    • See above for selecting text - that will bring up the dol cut / copy / paste menu. But also...
    • Tap with three fingers to open a menu with undo, cut, copy, paste and redo options
    • Copy: pinch with three fingers
    • Cut: Pinch with three fingers twice
    • Paste: 3-finger spread
  • Undo / Redo
    • Undo : Slide to the left with 3 well-spaced fingers
    • Redo: Slide to the right with 3 well spaced fingers
    • Tap with 3 fingers to bring up a menu with Undo on the far left and Redo on the far right

Macs

Mission Control

For some reason my brain confuses this with Activity Monitor (the equivalent of Windows Task Manager).

Mission Control is what you get when you do Ctrl | Up-arrow - shows you all running apps and spaces.

Finding / quitting running apps

  • Detailed stuff here
  • Options:
    • Activity Monitor (the equivalent of Windows Task Manager)
    • the top command in Terminal
      • is updated live
      • more useful with flags:
        • sort by cpu: top -o cpu
        • sort by memory usage: top -o rsize
    • the ps command in Terminal
      • not updated live
      • defaults to only displaying terminal processes active under the current user
      • but ps aux gives you more and therefore more useful
      • pipe to more to see pages of output one at a time: ps aux | more

Specify location of screenshots

  • Here for instructions on sending them to Google Drive
    • !NB! Your Google Drive location might be different
    • To get its path, right-click Google Stream | My Drive in Finder, and choose Services | New iTerm tab here
    • Then use type pwd and hit Enter
    • (Note it probably contains a space, which will mean you need quotes around it for the Terminal command below)
  • This in Terminal (see above for Google Drive path): defaults write com.apple.screencapture location [insert location here] killall SystemUIServer

Useful Keyboard Shortcuts

  • Log out: Cmd + Ctrl + Q
  • Sleep / wake:
    • Short-press power button
  • Shutdown:
    • hold power button for 5 secs
    • for quick shutdown: Cmd (splat) + Alt + Ctrl + Power Button
  • Restart:
    • hold power button for 1.5 secs
    • force restart: Cmd (splat) + Ctrl + Power button
  • In Finder:
    • see Home folder: Cmd+Shift+h
    • Go one level up from where you currently are: Cmd+up-arrow
    • Go to a folder you know the path for: Cmd+Shift+G
    • Show hidden files : Cmd + Shift + Dot
    • You might also have to run these lines in the terminal (from here): defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder
  • System preferences
  • shortcuts tag in private Evernote

Problems with headphones

  • Problem: Output goes to headphones in some contexts but built-in speakers in others.
    • Sometimes it's even going to a second screen!
    • Solution:
      • System Preferences | Sound
      • Check the checkbox

System Preferences - Top Tips

  • Keyboard shortcuts
    • Hack: Alt/Option + F2 to open display pane, then Cmd + L to gt back to main preferences
  • When you're in a sub-dialog, don't close it to get out of it! Use the back button (top left) instead, then you can get back to other dialogs
  • Use the search input (top right)

Setting up a new Mac Using Brew

Customise Finder to have home folder in favourites

  • Open Finder
  • Use Cmd+Shift+h to see Home folder
  • Use Cmd+Up-arrow to go one level up from where you currently are
  • Drag Home folder into favourites

Customise touchbar so it has a sleep key on it (or any other keys)

  • System Preferences
  • Keyboard
  • Customise Control Strip
  • Drag what you want into the touchbar