Page Menu
Home
Search
Configure Global Search
Log In
Paste
P1041
Use Ctrl-/, Ctrl-Shift-/ for comment, uncomment
Active
Public
Actions
Authored by
Campbell Barton (campbellbarton)
on Jul 17 2019, 3:30 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
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'},
Event Timeline
Campbell Barton (campbellbarton)
created this paste.
Jul 17 2019, 3:30 AM
William Reynish (billreynish)
awarded a token.
Jul 17 2019, 8:25 AM
Log In to Comment