i cant find this anywhere? does anyone know how to save all?
Shortcut for save all?
iamntz
#2
Add this into your keymap file:
{ "keys": "ctrl+alt+shift+s"], "command": "save_all" }
(or whatever shortcut you would like)
0 Likes
come2gether
#4
[quote=“iamntz”]Add this into your keymap file:
{ "keys": "ctrl+alt+shift+s"], "command": "save_all" }
(or whatever shortcut you would like)[/quote]
Awesome thanks!
0 Likes
StuntPanda
#5
You’re missing an open bracket, it should be:
{ "keys": ["ctrl+alt+shift+s"], "command": "save_all" }
0 Likes
tamj
#6
CTRL+ALT+S is vacant so this might be handier:
{ “keys”: [“ctrl+alt+s”], “command”: “save_all” }
0 Likes
tamj
#8
Because that is the format adopted by Sublime Text for this (and many other) type of configurations.
Where a shortcut requires a combination of 2 or more keys, they are square bracketted after being joined by a plus character and then enclosed in quotes.
e.g. Shortcut for using CTRL-X for cutting selected text would have a config JSON entry like:
{ “keys”: [“ctrl+X”],
“command”: “cut” }
0 Likes