修改 win 快捷键适配 macOS

键盘管理器

下载 PowerToys

点击 https://github.com/microsoft/PowerToys/releases 进行下载

(由于目前还是预览版, 需要到 Github 进行下载, )

记住, 修改的越多 bug 越多

单按键修改

update: power toys 的单键修改 bug 太多, 已替换为 sharpkeys 了
安装: winget install -e RandyRants.SharpKeys

在这里插入图片描述
alt -> ctrl (替代 cmd 键)
win -> alt (替代 opt 键)
caps -> esc (对比 ctrl 键, IDE 用得多就 esc, 用的少就 ctrl)
(可选) 菜单键 -> win

这里我没有将 win 键重新映射, 因为开始菜单通常是鼠标点
设置后 Win + L 锁定依然可用, 但 Win + X 等其他快捷键就不行了, 原因不明.
如果, win 键是刚需, 可以设置 ctrl -> win. 但我这里考虑到使用频率, 并没有这样设置
已从 power toys 切换为 sharp keys

组合快捷键修改

将窗口切换修改为 ctrl + tab
关闭程序修改为 ctrl + q (我后来移除掉了, 有快捷键被占用)
关闭当前页面修改为 ctrl + w

在这里插入图片描述
在这里插入图片描述


直观展示

在这里插入图片描述

解决 PowerToys 的键盘管理器 Shortcuts 失效的问题

现象: Windows开机之后PowerToys能正常使用, 但是打开微信之后设置好的快捷键映射就全部失效了

失效时机:

  1. 启动微信
  2. 进入“订阅号”点开任一公众号

以上 2 点都会导致 keyboard manager 的 shortcuts 失效 (remap 不受影响)

  • 解决办法 1
打开微信 -> 左下角三条杠 -> 设置 -> 快捷键 -> 取消勾选{检测快捷键}
  • 解决办法 2 (比较麻烦, 每次出现问题都得操作一遍)
ctrl + alt + del
然后再退出 (cancel)
  • 解决办法 3 (来自 @ffwindy)

当打开微信的时候,F22 按键被按下并没有释放,因此键盘管理器失效,通过软件释放 F22 之后键盘管理器映射就可以重新使用
在这里插入图片描述

(将 F22 映射到 disable 解决打开微信键盘失灵的问题)

可能原因: weixin 设置里默认勾选了{检测快捷键}, 程序一直在后台检测, 而同时 powerToy 也在检测, 双方冲突所以就会莫名奇妙失效.

相关 issue: #9300 #16173 #26498

MacOS 强制退出

  • Normal (cmd+opt+esc)

Command+Option+Escape

  • Active (cmd+opt+shift+esc)

Command+Option+Shift+Escape

  • Dock (opt+ctrl+click in dock)

Option + Right Click on an apps icon in the Dock

  • 苹果标志 (shift+click)

Hold the Shift Key and click on the “苹果” Apple menu to find “Force Quit [Application Name]”.

  • Commands
# killall [processname]
killall Safari

改变鼠标滚轮方向 (Mac 方式, 又称自然方式 Natural Mode)

参考: Reference

Step 1: Open Windows PowerShell in Administrator Mode. You can do this by going to Start Menu, type PowerShell, and click Run as Administrator.

Step 2: Copy the following code and paste it in the command line of Windows PowerShell:

$mode = Read-host "How do you like your mouse scroll (0 or 1)?"; Get-PnpDevice -Class Mouse -PresentOnly -Status OK | ForEach-Object { "$($_.Name): $($_.DeviceID)"; Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters" -Name FlipFlopWheel -Value $mode; "+--- Value of FlipFlopWheel is set to " + (Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters").FlipFlopWheel + "`n" }

Step 3: It will ask how do you like your mouse to scroll.

Downward wheel motion makes the page…
0 - Move up so you see contents below (Default Mode, Windows behavior)
1 - Move down so you can see contents above (Natural Mode, Mac behavior, reverse mode)

Type the number that corresponds to your scroll preference.

Step 4: Restart your computer. Your settings will take effect after you restart.

In a nutshell, the script detects all your mouse devices that’s registered in your device and sets the FlipFlopWheel registry key to the value you selected. The script makes it easy for you to do this without opening Windows Registry and searching the device ID of your mouse which is error prone and confusing.

Win10/11 微软拼音导入小鹤双拼方案

Step 1: 保存为 .reg 后缀

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\CHS]
"Enable Cloud Candidate"=dword:00000000
"Enable Dynamic Candidate Ranking"=dword:00000001
"EnableExtraDomainType"=dword:00000001
"Enable self-learning"=dword:00000001
"EnableSmartSelfLearning"=dword:00000001
"EnableLiveSticker"=dword:00000000
"Enable EUDP"=dword:00000001
"Enable Double Pinyin"=dword:00000001
"UserDefinedDoublePinyinScheme0"="xiaohe*2*^*iuvdjhcwfg^xmlnpbksqszxkrltvyovt"
"DoublePinyinScheme"=dword:0000000a

Step 2: 双击该文件执行

缩放 200% (both 27 inch)

  • 4k to 200%
    在这里插入图片描述
  • 1080p to 100%
    在这里插入图片描述

在输入法中添加单词字典

  1. 输入法
    在这里插入图片描述
  2. lexicon 字典, 词典
    在这里插入图片描述
  3. user defined phrases
    在这里插入图片描述
  • 摘要
bash
bd 
git 
go
how 
java
jira 
python
shell
zsh
todo
fixme
fixup

不能以 u / v 开头
在这里插入图片描述

卸载 Xbox Game Bar

PowerShell 中运行 (管理员)

Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage

(补充) 如果有弹窗
在这里插入图片描述
继续执行

reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0
reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0

来源: Properly uninstalling xbox gamebar and resolve ms-gaming-overlay-link popup on windows 11

如果是为了录屏的话, 更好的选择是 微软自带的 Snipping Tool 截屏工具 (包含录屏)

Finger Maps

指位图

  • 参考

在这里插入图片描述
在这里插入图片描述

  • 打字原则 (最重要的就是 Rollover: 累积 滚动增加 [车辆]倾翻)
  1. [move less] The minimum movement principle.
  2. [don’t wait] The Rollover Technique.
  3. [don’t distract] Focus on Accuracy.
  • 第 5 版 (2024/08/15)

在这里插入图片描述

  • 第 4版 - V2

在这里插入图片描述

  • 第 4 版

在这里插入图片描述

  • 第 3 版

在这里插入图片描述

  • 第 2 版

在这里插入图片描述

  • 第 1 版
    在这里插入图片描述

  • 4
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值