customize chrome developer tool javascript debugger keyboard shortcuts?

后端 未结 10 991
野趣味
野趣味 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条回答
  •  萌比男神i
    2020-12-05 06:44

    Inspired by @jcollum's answer, here is another Karabiner private.xml definition. This one imitates my IntelliJ key bindings. See also keyboard shortcut toggling answer on apple.stackexchange.com.

    
    
      
        Custom via private.xml
    
        
          ChromeLike
          com.google.Chrome
          com.vivaldi.Vivaldi
          org.epichrome.app.
        
        
          Remap debugger keys in Chrome (IntelliJ)
          Change consumer keys to function keys matching IntelliJ shortcuts
          private.app_chromelike_switch_consumer_to_intellij_debugger
          ChromeLike
          __KeyToKey__ ConsumerKeyCode::MUSIC_PREV, ModifierFlag::NONE, KeyCode::F11 
          __KeyToKey__ ConsumerKeyCode::MUSIC_PLAY, ModifierFlag::NONE, KeyCode::F10 
          __KeyToKey__ ConsumerKeyCode::MUSIC_PLAY, ModifierFlag::SHIFT_L, KeyCode::F11, ModifierFlag::SHIFT_L 
          __KeyToKey__ ConsumerKeyCode::KEYBOARDLIGHT_HIGH, ModifierFlag::NONE, KeyCode::F11, ModifierFlag::SHIFT_L 
          __KeyToKey__ ConsumerKeyCode::MUSIC_NEXT, ModifierFlag::NONE, KeyCode::F8 
        
    
      
    
    

提交回复
热议问题