F19键
【摘要】 一.Alfred说明:系统会以alfred配置的快捷键为第一优先级,配置的时候需要考虑被占用情况F19 唤起 alfredF19+c 打开 alfred 的剪切板F19+s 打开 alfred 的 snippetsF19+u 打开 alfred 的有道翻译F19+O 打开 kuan 的解忧杂货铺F17+F 一键打开访达下载F19+w 打开微信F19+g 下载粘贴地址F19+j 打开 jet...
一.Alfred
说明:系统会以alfred配置的快捷键为第一优先级,配置的时候需要考虑被占用情况
- F19 唤起 alfred
- F19+c 打开 alfred 的剪切板
- F19+s 打开 alfred 的 snippets
- F19+u 打开 alfred 的有道翻译
- F19+O 打开 kuan 的解忧杂货铺
- F17+F 一键打开访达下载
- F19+w 打开微信
- F19+g 下载粘贴地址
- F19+j 打开 jetbrains toolbox
- F19+1 obs开始录制
- F19+2 obs停止录制
- 唤起+关键字
- F19+ip 一键查看 ip
- F19+start 一键打开应用
- F19+tq 一键查询天气
- F19+ps 一键提交 blog
二.idea
- F19+3 添加书签/删除书签
- F19+a 打开全部书签
- F19+d 打开 debug 页面
- F19+R 替换
- F19+F 类的概要,以前的 command+F12
- F19+x 下一个方法
- F19+z 上一个方法
- F19+e 最近打开的项目
- F19+a 关闭所有项目
- F19+M 彩虹括号代码
- F19+N 彩虹括号代码
- F17+P 演出模式
- F19+9 跳转到当前行
三.其他
typora
- F19+z 清除样式
chrome
- F19+左右键 标签页切换
snipaste
- F19+v 贴图
四.配置 F19
1.下载
下载 Karabiner-Elements-12.0.0,https://pqrs.org/osx/karabiner/
2.配置
https://pqrs.org/osx/karabiner/complex_modifications/ 搜 Change caps_lock key
,点 Import
删除多余规则,剩余一条:Post f19 key when pressed alone
3.修改
编辑 ~/.config/karabiner/karabiner.json
搜这个规则的关键词,把 caps_lock
缓存 right_command
4.设置
F19(右command)=command+control+option+shift
重启 Karabiner-Elements,为各个 app 设置自己顺手的快捷键
{
"global": {
"ask_for_confirmation_before_quitting": true,
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false,
"unsafe_ui": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"description": "Change right_command key to command+control+option+shift. (Post f19 key when pressed alone)",
"manipulators": [
{
"from": {
"key_code": "right_command",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": ["left_command", "left_control", "left_option"]
}
],
"to_if_alone": [
{
"key_code": "f19"
}
],
"type": "basic"
}
]
},
{
"description": "Change right_control key to command+shift+option. (Post f17 key when pressed alone)",
"manipulators": [
{
"from": {
"key_code": "right_control",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": ["left_command", "left_option"]
}
],
"to_if_alone": [
{
"key_code": "f17"
}
],
"type": "basic"
}
]
},
{
"description": "Change right_option key to command+control+shift. (Post f18 key when pressed alone)",
"manipulators": [
{
"from": {
"key_code": "right_option",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_control",
"modifiers": ["left_command", "left_shift"]
}
],
"to_if_alone": [
{
"key_code": "f17"
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 834,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 834,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 49284,
"vendor_id": 1133
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 49284,
"vendor_id": 1133
},
"ignore": true,
"manipulate_caps_lock_led": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 591,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "display_brightness_decrement"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"apple_vendor_keyboard_key_code": "mission_control"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"apple_vendor_keyboard_key_code": "spotlight"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"consumer_key_code": "dictation"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "f6"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"consumer_key_code": "rewind"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fast_forward"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
]
}
],
"name": "Default profile",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": true,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"mouse_key_xy_scale": 100
}
}
]
}
5.扩展
按照同样的方式,可以将右边的 control 设置为 F17,是自己的快捷键更加灵活多样,保证快捷键足够用
- 右边的 command 为 F19
- 右边的 option 为 F18
- 右边的 control 为 F17
【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)