F19键

简介: F19键

一.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
相关文章
|
10月前
|
数据安全/隐私保护
【VS2017】怎么调整Tab键的顺序和回车直接登录
【VS2017】怎么调整Tab键的顺序和回车直接登录
60 0
|
7月前
|
数据库 数据库管理 索引
主键和唯一键有什么区别?
【8月更文挑战第1天】
412 6
主键和唯一键有什么区别?
|
5月前
|
存储 NoSQL 数据挖掘
在 ScyllaDB(或 Cassandra)中使用主键、分区键和群集键
在 ScyllaDB(或 Cassandra)中使用主键、分区键和群集键
76 0
|
存储 搜索推荐
Map根据键、值进行排序
在参加农行软开笔试时,最后一道编程题需要将Map中的数据按照值排序··· ···
|
程序员 Windows
Win键+R键快捷命令汇总
对Windows操作比较熟的人都知道,Win键 + R键可以快速唤起Run窗口,输入命令就可以方便快捷地打开很多打开应用,可以使用到很多系统自带的工具,其中程序员用到的最多的肯定就是cmd了,可以打开DOS窗口。
Win键+R键快捷命令汇总
|
JavaScript 前端开发
按一下删除键删除整个单词
按一下删除键删除整个单词
按一下删除键删除整个单词
|
存储
查找二叉树中最小和最大的键(三)
日常生活中,很多事物都可以用树来描述,例如书的目录、工作单位的组织架构等等。树是计算机中非常重要的一种数据结构,树存储方式可以提高数据的存储、读取效率。 正文 比如二叉树中用来记录某个公司员工薪资和员工姓名数据,或者某班级学生们的排名和姓名数据。如何快速找出排名最高和最低的同学数据?
238 0
查找二叉树中最小和最大的键(三)
|
NoSQL Unix 数据库
Redis命令——键(key)
Redis 键(key) Redis 键命令用于管理 redis 的键。 语法 Redis 键命令的基本语法如下: redis 127.0.0.1:6379> COMMAND KEY_NAME 实例 redis 127.0.0.1:6379> SET mykey redis OK redis 127.0.0.1:6379> DEL mykey (integer) 1 在以上实例中 DEL 是一个命令, mykey 是一个键。
1043 0

热门文章

最新文章