macOS 怎样快速切换到另一个应用?

2023-05-09 10:36:29 +08:00
 tanran

Mac 上经常使用的应用就那么几个

比如浏览器 Chrome,开发 IDE Xcode,文字软件 obsidian 等

你是怎么快速切换到想要打开的应用的?

8657 次点击
所在节点    程序员
79 条回复
CY4suncheng
2023-05-09 20:23:26 +08:00
我用的 Keyboard Maestro ,很多年了,按一下呼出,在按一下隐藏
![]( )
Conte
2023-05-09 20:25:41 +08:00
Raycast 的快捷键配合 AltTab ,应用切换和单应用多窗口切换都搞定。
jqtmviyu
2023-05-09 21:03:06 +08:00
Thor, 但我是平铺窗口 yabai, 不同应用都在不同桌面.

浏览器我放桌面 1, vscode 放桌面 2, obsidian 放桌面 3
yeelone
2023-05-09 23:19:01 +08:00
我也是 mac 多任务切换用着不爽,花了点时间边学边自己做了一个,还未成熟,等成熟了就放出来。

![dock]( https://imgur.com/VnksWTZ)

![float dock ]( https://imgur.com/dvQ01W6)

现在连名字都没想好
shuxiao9058
2023-05-10 00:29:03 +08:00
hammerspoon + lua
kwong51
2023-05-10 01:47:32 +08:00
AltTab ,我常用的 app 来来去去就那几个,不过自己经常分不清哪个窗口想要切换,altTab 就比 cmd+tab 和 mission control 更一目了然
以前用过 Raycast 总感觉比 Alfred 慢而且占内存(我用的 8gb ram macbook air ),而且原生 spotlight 已经够用
0xGnaixEuy
2023-05-10 02:35:06 +08:00
Alfred 输入
ggmood
2023-05-10 07:13:36 +08:00
@Conte Alfred 行么?
fds
2023-05-10 08:38:42 +08:00
我喜欢 Karabiner 作者自己的 Launcher Mode ,主打功能就是按住键盘上任意一个键,然后再按另一个键启动程序。比如 e+1 e+2 g+d 等等,这样就不用占用 ctrl 等等快捷键。看他最新版配置好像是改成了“同时按两个键”,时长是 500ms 。
https://ke-complex-modifications.pqrs.org/#personal_tekezo_launcher_mode_v4
xxxrubyxxx
2023-05-10 08:50:34 +08:00
Soiun
2023-05-10 08:59:05 +08:00
macos 自带的台前调度就能解决你的问题
yibo2018
2023-05-10 09:37:09 +08:00
Using Alfred

1. Command + space call up the search box
2. Enter the app name what you want
3. Carriage return
featureoverload
2023-05-10 09:58:34 +08:00
不需要安装其他软件的办法。

先分类 -- 在不同应用间切换(分类不同的应用);然后再在应用内切换。

可以在设置里面,配置快捷键,应用切换的快捷键配置成 **不同应用**切换。

然后有另外一个快捷键,配置它在(当前焦点的)**应用内**切换。

-------

这样只有两个快捷键,所有 mac 都适用,不需要安装软件,只需要连续按小几下就行了。
wangdk23411
2023-05-10 10:10:53 +08:00
应用全屏,触摸板四指上划(或者键盘 Control+↑),想选哪个选哪个
LicenseXu
2023-05-10 10:20:56 +08:00
Contexts 和 Alfred 结合着用
Contexts 可以分开显示同一应用的多个窗口,然后直接点就切过去了
如果只有一个窗口,用 Alfred 切过去
wangxiang
2023-05-10 10:32:38 +08:00
contexts
pppanda
2023-05-10 10:49:07 +08:00

搭配 Raycast 使用
MENGKE
2023-05-10 10:58:32 +08:00
全屏,左右滑不就可以了?还有比这更方便的吗
pkoukk
2023-05-10 11:10:43 +08:00
自带的那个 expose 啊,control+UP 或者 control+down
guxingke
2023-05-10 11:22:28 +08:00
# max
cmd + ctrl - f : yabai -m window --grid 1:1:0:0:0:0
cmd + ctrl - m : yabai -m window --grid 10:10:1:1:8:8
cmd + ctrl - s : yabai -m window --grid 10:10:2:2:6:6
cmd + ctrl - d : yabai -m window --toggle float

# keycode https://github.com/koekeishiya/skhd/issues/1
# app
alt - 1 : osascript -e "tell application \"IntelliJ Idea\" to activate"
alt - 3 : osascript -e "tell application \"RapidAPI\" to activate" # Paw -> RapidAPI
alt - 4 : osascript -e "tell application \"Clion\" to activate"
alt - 7 : osascript -e "tell application \"DataGrip\" to activate"
alt - 8 : osascript -e "tell application \"MacVim\" to activate"
alt - 9 : osascript -e "tell application \"neovide\" to activate"
alt - 7 : osascript -e "tell application \"DataGrip\" to activate"
alt - 2 : osascript -e "tell application \"PyCharm\" to activate"
alt - q : osascript -e "tell application \"Google Chrome\" to activate"
alt - u : osascript -e "tell application \"Wechat\" to activate"
alt - i : osascript -e "tell application \"Feishu\" to activate"
alt - 0x2B : osascript -e "tell application \"QQMusic\" to activate" # alt ,


# screen saver
cmd + shift + ctrl - l : osascript -e "tell application \"ScreenSaverEngine\" to activate"


------
推荐 shkd <https://github.com/koekeishiya/skhd>

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/938510

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX