customize chrome developer tool javascript debugger keyboard shortcuts?

后端 未结 10 1023
野趣味
野趣味 2020-12-05 06:02

I can\'t believe that neither a Google or SO search has turned up a definitive answer or even much discussion for this, but:

Is it possible to edit/customize keyboar

10条回答
  •  难免孤独
    2020-12-05 06:51

    I did this with Karabiner. I'm using a full size keyboard (F1-F19 keys) so I mapped them to F13 to F16. This way the layout of the keys matches the layout of the buttons in Chrome. Keymap file:

    
    
      
        CHROME
        com.google.Chrome
      
    
      
        CHROMEDEBUGGINGKEY
        This maps the F13-F16 keys to Chrome debugging keys
        private.swap_chrome_to_debug_settings
        CHROME
        
        
          __KeyToKey__
          KeyCode::F13, KeyCode::F8
        
        
          __KeyToKey__
          KeyCode::F14, KeyCode::F10
        
        
          __KeyToKey__
          KeyCode::F15, KeyCode::SEMICOLON, ModifierFlag::COMMAND_L
        
        
          __KeyToKey__
          KeyCode::F16, KeyCode::SEMICOLON, ModifierFlag::COMMAND_L, ModifierFlag::SHIFT_L,
        
      
    
    

提交回复
热议问题