Who can share some operation skills on mac window management

by Poster Apr 3, 2025 40
I have been using Windows for development, and my wsl is stuck. I just want to join a new company and plan to apply for a mac. Who introduces the tips of window management. # # # The expected usage scenarios of mac are as follows 1. It is possible to open several vscode windows 2. Mainly do the back-end, occasionally the front-end, so there is no strong demand for opening the browser and watching changes at the same time 3. The mac should close the lid and connect an external single monitor 4. Want to try to give up the mouse

Replies

  • Anonymous2463 Apr 3, 2025
    Take a closer look at the magic control panel gesture video, all functions are ticked In addition, multi-purpose multi-desktop, four-finger switching is very smooth
  • Anonymous5920 Apr 3, 2025
    Use a tiled window manager, such as yabai or amethyst
  • Anonymous2037 Apr 3, 2025
    My own current situation is like this, you can refer to it 1. You can use raycast or manico to set a shortcut key for commonly used software switching. option + (123qweasdzxc) or something like that. Commonly used tools are assigned to all desktops by right-clicking in the dock bar, so that shortcut key switching will not switch virtual desktops. 2. Split the browser and IDE through the virtual desktop. Just slide the touchpad left and right. 3. Multiple windows of the same software are switched through the dispatch center. Slide up the touchpad.
  • Anonymous5921 Apr 3, 2025
    Use aerospace, leave the mouse, use shortcut keys to switch focus and software, and experience silky smoothness
  • Anonymous5922 Apr 3, 2025
    The MAC I use comes with 16 desktop cuts on the top. One project occupies one desktop. Usually, I just remember which desktop the project is on and cut it quickly
  • Anonymous9847 Apr 3, 2025
    1. The biggest illusion of mac users is that the touchpad is more efficient than the mouse. Except for the boss who only listens to reports. 2. The second biggest illusion of mac users is that it is very different from windows. In fact, the usage habits are almost the same. 3. For window management, download a switching tool like https://contexts.co/or similar to meet 99% of the needs
  • Anonymous5923 Apr 3, 2025
    @ Anonymous5922 Yes, the touchpad slides around with three fingers, simple and practical
  • Anonymous5924 Apr 3, 2025
    Just find two videos at station b and watch them. Switch with four fingers, select with three fingers, and drag with three fingers. I'm completely used to the touchpad. I've purchased a new mac mini and it's also equipped with a magic control pad
  • Anonymous1685 Apr 3, 2025
    @ Anonymous9847 I just bought the contexts is okay
  • Anonymous2044 Apr 3, 2025
    Install a DockDoor, open source and free, with the same alt + tab and dock bar as win to see all windows of the program.
  • Anonymous5925 Apr 3, 2025
    If you can't get used to the tile window manager, you can try hammerspoon and write your own shortcut keys to quickly modify the window layout
  • Anonymous5920 Apr 3, 2025
    If you want to give up the mouse, you can try to install the Surfingkeys plug-in on the browser, install the Homerow software on the system, configure the shortcut key enhancements of karabiner-elements + GokuRakuJoudo, and then use the tile window manager to basically realize full keyboard operation. If you want to pursue the ultimate, you can go to Keyboard Maestro
  • Anonymous5926 Apr 3, 2025
    alt-tab + loop software
  • Anonymous10360 Apr 3, 2025
    Sounds very suitable for getting into the pit tiling window manager, see 4. Guess the features you need may include: -Window size control -Move between desktops window move -Focus window by orientation -Move window to desktop by orientation/desktop serial number -Move windows within the desktop by orientation -Focus desktop by orientation/desktop number -Toggle layout In Linux, the mainstream is i3wm, and in macOS, the mainstream is yabai and amethyst, and there is also a hammerspoon. I personally use aerospace. I suggest going to ytb to see the demonstration of i3wm. If you feel right, try one of yabai and aerospace. Except for amethyst, I have used everything else. Let me roughly list the disadvantages. The advantages are boasted on reddit and ytb, so I won't talk about them. I'm a user with a radical update strategy. yabai needs to turn off SIP again every time the system is updated, and it will encounter the problem of its injection script failure across large versions, and sometimes small versions will also. I remember that at 14. x, I encountered an update that exploded directly, and only focus was alive in all keymaps. It was painful to go back to the era of window management with trackpad/mouse... If you don't like to turn off SIP and inject scripts, then you will lose some functions, including [focus on the desktop by direction/desktop serial number]. The API provided by hammerspoon is very rich, but if you focus on another desktop, there will be a probability that you cannot correctly focus to the top window on another desktop. For example, desktop B has [spotify, intellij, wezterm] at the same time, and the top level is spotify to the right and so on. Now execute the focus instruction, expecting to show it according to the original hierarchical relationship, but it may actually become [intellij, spotify, wezterm] 😂 aerospace will lose its function when an application approaches or enters the [unable to respond] state, and call Chrome. Many times, when debugging, a certain page explodes, and you will probably lose all your abilities. If it is turned on for a long time, the focus desktop or application will be stuck. Sometimes reload can solve the problem and sometimes it can't 😵
  • Anonymous5927 Apr 3, 2025
    Give up the mouse? Isn't that a tile type. I don't play on mac anymore though... I played i3 under Linux for two years and hyprland + kde for half a year. I have played yabai under macOS, various customized menubars and the relatively new aerospace, all of which can be managed by the keyboard. Plus a browser's vim-like plug-in is installed, and it's almost done. However, in the era of AI IDE, full keyboard streaming may not be as efficient. Moreover, the app window logic of macOS is quite different from that of Windows. The tiled Windows of macOS are basically hack system interfaces, which are incomparable to Linux. It is recommended not to just play tile under macOS. I have configured yabai for N years and aerospace for more than half a year, and I have abandoned the pit. The flexible layout that suits my own workflow is more in line with my habits. One that must be installed is alt-tab, and the other is to learn to flexibly use shortcut key management functions such as Hammerspoon script or Raycast or moom or KM to quickly open applications, resize windows and move windows.
  • Anonymous10360 Apr 3, 2025
    @ Anonymous10360 # 14 adding aerospace very wtf a bit... In the case of two monitors: monitor A has two desktops, desktop 1 is Chrome, and desktop 2 is a communication tool; Monitor B has two desktops, desktop 9 is WebStorm, and desktop 10 is also Chrome. In order to start the application, first start Chrome on desktop 1, and then start a move to desktop 10. Focus on any desktop except desktop 10. Focus on desktop 10 and you will focus on desktop 1. This issue has been lying in the issues area longer than the towel I used last year. The corresponding scenario is, 1Chrome is used to debug the page, 10Chrome is used to view requirements or online docking documents, etc., you receive UX update information in the communication tool, want to go to Chrome to see what's more, focus past, yes, focus to the debug page, no matter how focused you are, as long as the top-level application of the target page is Chrome, you will definitely focus on desktop 1, because Chrome there starts first: (
  • Anonymous3839 Apr 3, 2025
    Recommended try: https://github.com/rxhanson/Rectangle Used before without maintenance: https://github.com/eczarny/spectacle Also used the non-open source version: https://apps.apple.com/cn/app/magnet/id441258766
  • Anonymous5928 Apr 3, 2025
    command + ~ (the symbol above tab) can be switched between multiple windows of the same application For example, open multiple vscodes, command + ~ can switch between multiple vscodes, I think it is very useful
  • Anonymous5929 Apr 3, 2025
    Mouse with open source software Mac Mouse Fix: https://github.com/noah-nuebling/mac-mouse-fix I currently have set up -Click the scroll wheel to enter the dispatch center and switch desktops or windows -Click and hold the wheel to move the mouse left and right to directly switch the desktop
  • Anonymous5929 Apr 3, 2025
    I think the mouse is much easier to use than the Magic Pad