Page MenuHome
Paste P1041

Use Ctrl-/, Ctrl-Shift-/ for comment, uncomment
ActivePublic

Authored by Campbell Barton (campbellbarton) on Jul 17 2019, 3:30 AM.
Tags
None
Subscribers
None
Tokens
"Love" token, awarded by billreynish.
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
index c06ce64b495..b0a750a4266 100644
--- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py
+++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
@@ -2190,7 +2190,8 @@ def km_text(params):
{"properties": [("direction", 'DOWN')]}),
("text.indent", {"type": 'TAB', "value": 'PRESS'}, None),
("text.unindent", {"type": 'TAB', "value": 'PRESS', "shift": True}, None),
- ("text.uncomment", {"type": 'D', "value": 'PRESS', "shift": True, "ctrl": True}, None),
+ ("text.comment", {"type": 'SLASH', "value": 'PRESS', "ctrl": True}, None),
+ ("text.uncomment", {"type": 'SLASH', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("text.move", {"type": 'HOME', "value": 'PRESS'},
{"properties": [("type", 'LINE_BEGIN')]}),
("text.move", {"type": 'END', "value": 'PRESS'},