I want to change the key bindings for XDebug plugin in Sublime Text 3. How I can change the key binding for Run, Step over, Step into, Step out, etc.?
This answer is a more complete answer from user2968356.
To complete this answer, the .sublime-package
file is an archive, so it can be decompressed using a ZIP utility. It's not necessary to edit the Default.sublime-keymap
in the package, we can copy the key bindings and add it modified to Default.sublime-keymap
available from Preferences -> Key Bindings - User in Sublime Text.
And to provide a shortcut, here's the default key binding of XDebug package, modify at will:
{"keys": ["ctrl+f8"], "command": "xdebug_breakpoint"},
{"keys": ["shift+f8"], "command": "xdebug_conditional_breakpoint"},
{"keys": ["ctrl+shift+f5"], "command": "xdebug_continue", "args": {"command": "run"}},
{"keys": ["ctrl+shift+f6"], "command": "xdebug_continue", "args": {"command": "step_over"}},
{"keys": ["ctrl+shift+f7"], "command": "xdebug_continue", "args": {"command": "step_into"}},
{"keys": ["ctrl+shift+f8"], "command": "xdebug_continue", "args": {"command": "step_out"}},
{"keys": ["ctrl+shift+f9"], "command": "xdebug_session_start"},
{"keys": ["ctrl+shift+f10"], "command": "xdebug_session_stop"},
{"keys": ["ctrl+shift+f11"], "command": "xdebug_layout", "args": {"keymap" : true}}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With