Skip to content

Commit c5f9767

Browse files
author
Joey Clark
committed
Various updates
1 parent 536a501 commit c5f9767

File tree

3 files changed

+54
-6
lines changed

3 files changed

+54
-6
lines changed

Diff for: GETTING_STARTED_WITH_MACBOOK.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,17 @@ and: http://support.apple.com/kb/ht1343 (doesn't seem to include Mission Control
6969

7070
Toggle maximize in iTerm: Cmd-Opt-Equals
7171

72-
Toggle maximize in other apps: You need to create a shortcut called "Zoom" in the Keyboard section of System Preferences. (I put it on Opt-Cmd-Equals)
72+
Toggle maximize in other apps: You need to create a shortcut called "Zoom" in the Keyboard section of System Preferences. (I put it on Ctrl-Cmd-Equals)
7373

7474
(Note that Zoom will only horizontally maximize a window to fit the content; it won't fill the screen if it doesn't need to.)
7575

7676
Toggle fullscreen: Cmd-Ctrl-F
7777
or (works in Chrome): Cmd-Shift-F
7878

79+
Maximize ('Fill') Fn-Ctrl-F
80+
Centralise ('Center') Fn-Ctrl-C
81+
Restore original size ('Return'?) Fn-Ctrl-R
82+
7983
Enter special characters: Ctrl-Cmd-Space
8084

8185
Move up/down Skype conversations Cmd-Opt-Left/Right
@@ -130,7 +134,7 @@ Users of Windows laptops and PCs are accustomed to the Control key appearing in
130134
If you use Ctrl a lot, and you wish the Macbook's Fn and Control keys were the opposite way around, you can try:
131135

132136
- OLD: http://moox.io/blog/switch-ctrl-fn-keys-macbook-keyboard/
133-
- NEW: You can do this in System Settings > Keyboard > Keyboard Shortcuts > Modifier Keys. Swap "Globe" and "Control" keys.
137+
- NEW: You can do this in System Settings > Keyboard > Keyboard Shortcuts > Modifier Keys. Select the relevant keyboard, and then swap "Globe" and "Control" keys.
134138

135139
Alternatively you can do what old Unix keyboard did: put the Control key on the "home row", where Caps Lock is. This can be done in the Keyboard settings dialog mentioned earlier. http://en.wikipedia.org/wiki/Caps_lock#Caps_Lock_versus_Control_key (The contemporary positioning of the Caps Lock key on PC keyboards was such a big mistake, the manufacturers put a step on the key to make it harder to hit it by accident!)
136140

Diff for: JOEYS_MACBOOK_SETUP.md

+45-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
See also: Apparently this offers a customisable auto-setup: https://github.com/minamarkham/formation
22

3-
Go to App Store and start downloading XCode first, because it is big. XCode is needed for homebrew.
3+
Go to App Store and start downloading XCode first, because it is big. XCode is needed for homebrew. (You might be able to install only the tools, but if you might later engage in development using XCode, then perhaps tidier just get the whole thing.)
44

55
Open Safari, install Chrome, iTerm2 and homebrew.
66

@@ -15,6 +15,7 @@ In System Preferences:
1515
(The web recommends Cmd-Shift-Equals, but Cmd-Opt-Equals fit with iTerm. However, only Ctrl-Cmd-Equals works with VSCode.)
1616
See [step 3 here](http://osxdaily.com/2013/03/22/5-simple-window-management-keyboard-shortcuts-to-improve-workflow-in-mac-os-x/)
1717
I wanted to map this to `Opt-Z` to match my Linux, but for some reason that binding would not respond.
18+
Note: This (somewhat inconsistent) binding may no longer be needed. Try Fn-Ctrl-C or F instead.
1819

1920
In case you choose to remap Ctrl-Left and Ctrl-Right in future, you can make desktop switching like Linux by doing:
2021

@@ -239,9 +240,50 @@ Your Fn and Control keys may be swapped, compared to PC keyboards. If you haven
239240

240241
- Keyboard > Dictation > Shortcut: I switched it to "Press Right Command Key Twice" (because it was on "Press Control Key Twice" which was far too easy to trigger accidentally)
241242

243+
Sequoia introduced shortcuts for tiling windows. But I like to use the following two for moving tabs left/right in Firefox. So I need to disable them. To disable them, we actually need to [assign them to something else](https://www.reddit.com/r/MacOSBeta/comments/1e26ljh/comment/lt57o3a/). (Strangely, in Chrome these shortcuts only move the tabs, but in Firefox they both move the tabs _and_ tile Firefox, which is the problem.)
244+
245+
- Keyboard > Keyboard shorcuts > App Shortcuts > +, then set:
246+
247+
- Application: All Applications
248+
- Menu Title: Top
249+
- Keyboard Shortcut: Ctrl+Opt+Up (or whatever)
250+
251+
Do the same for `Bottom`, then (perhaps with Shift added) for `Top & Bottom`, `Bottom & Top`
252+
253+
(The original shortcuts for Top/Bottom tiling can be found in the menu bar under Window > Move & Resize > Halves > Top / Bottom)
254+
242255
## Manipulating windows with keyboard
243256

244-
Suggest: Try out Rectangle before any of these.
257+
Since Sequoia, we now have:
258+
259+
Maximize ('Fill') Fn-Ctrl-F
260+
Centralise ('Center') Fn-Ctrl-C
261+
Restore original size ('Return'?) Fn-Ctrl-R
262+
263+
I tried remapping `Fill` to `Opt-Z` but none worked except for `Cmd-Opt-Z`
264+
265+
On Linux I `Push Down` with `Meta-Alt-J` but the same stroke `Cmd-Opt-J` on macOS should probably be reserved for opening the DevTools.
266+
267+
Tiling:
268+
269+
Tile 'Left' Fn-Ctrl-Left (my remap: Cmd-Opt-Left)
270+
Tile 'Right' Fn-Ctrl-Right (my remap: Cmd-Opt-Right)
271+
Tile 'Top' Fn-Ctrl-Up (my remap: Cmd-Opt-Up)
272+
Tile 'Bottom' Fn-Ctrl-Down (my remap: Cmd-Opt-Down)
273+
Below are fine, but above are a problem, because Cmd-Opt-Left and Right switch tabs in Chrome
274+
Tile 'Top & Bottom' Fn-Ctrl-Shift-Up (my remap: Cmd-Opt-Shift-Up)
275+
Tile 'Bottom & Top' Fn-Ctrl-Shift-Down (my remap: Cmd-Opt-Shift-Down)
276+
Tile 'Left & Right' Fn-Ctrl-Shift-Left (my remap: Cmd-Opt-Shift-Left)
277+
Tile 'Right & Left' Fn-Ctrl-Shift-Right (my remap: Cmd-Opt-Shift-Right)
278+
279+
Mappings which did not work out:
280+
281+
Default Fn-Ctrl-Up/Down move tabs left/right in Chrome and Firefox
282+
Cmd-Opt-Left and Right switch tabs in Chrome
283+
284+
Note that the default settings for `Top` and `Bottom` end up tiling poor Firefox when I try to move tabs left or right.
285+
286+
(OLD) Suggest: Try out Rectangle before any of these.
245287

246288
(OLD) Install [Spectacle](https://www.spectacleapp.com/) to allow easy manipulation of windows.
247289
- Maximize (gone): <kbd>Ctrl-Opt-Cmd-M</kbd>
@@ -271,7 +313,7 @@ Install [Hammerspoon](https://www.hammerspoon.org/) and configure it with [Shift
271313

272314
If you have a MacBook with a UK layout, but are accustomed to keys in a US layout, then you may like to reconfigure some keys.
273315

274-
The `§ / ±` key below `Escape` may be more familiar if it performs `\` / ~`. This will also enable `Alt-§` to cycle windows in the same app (usually `Alt-backtick`). To configure that:
316+
The `§ / ±` key below `Escape` may be more familiar if it performs `Backtick / Tilde`. This will also enable `Alt-§` to cycle windows in the same app (usually `Alt-backtick`). To configure that:
275317

276318
- OLD: [these instructions](https://apple.stackexchange.com/a/401673/159962). Last time `launchctl` was producing an error `Load failed: 5: Input/output error`, so I ended up [using Automator](https://web.archive.org/web/20231119010622/https://kitcross.net/remapping-tilde-key-macos/) to run `hidutil` on startup.
277319

Diff for: set_custom_app_icon_on_macos.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ Downsides of this method:
2424

2525
- You end up with two instances of the same application just with different icons. They still work functionally identically, but they have different icons.
2626

27-
- Your app with the custom icon will be the second one offered by Spotlight, Alfred and Raycast, not the first.
27+
- For a while, your app with the custom icon will be the second one offered by Spotlight, Alfred and Raycast, not the first, although if you keep choosing it, it may get moved to the top.
28+
29+
- If macOS restores your apps after restarting, it will likely load the official app, rather than your tweaked version. So after a restart, you may need to quit those apps, so you can start your tweaked versions.

0 commit comments

Comments
 (0)