Skip to content

Commit a461c20

Browse files
Simplify herestring keymap (#210)
Fixes #203 better than #209.
1 parent 4030791 commit a461c20

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

Default.sublime-keymap

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,8 @@
1010
"command": "run_macro_file",
1111
"args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"},
1212
}, {
13-
"command": "insert",
14-
"args": {"characters": "\"@" },
15-
}, {
16-
"command": "move",
17-
"args": {"by": "characters", "forward": false},
18-
}, {
19-
"command": "move",
20-
"args": {"by": "characters", "forward": false},
21-
}, {
22-
"command": "move",
23-
"args": {"by": "characters", "forward": false},
13+
"command": "insert_snippet",
14+
"args": {"contents": "$0\n\"@" },
2415
}],
2516
},
2617
"context": [
@@ -40,17 +31,8 @@
4031
"command": "run_macro_file",
4132
"args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"},
4233
}, {
43-
"command": "insert",
44-
"args": {"characters": "'@" },
45-
}, {
46-
"command": "move",
47-
"args": {"by": "characters", "forward": false},
48-
}, {
49-
"command": "move",
50-
"args": {"by": "characters", "forward": false},
51-
}, {
52-
"command": "move",
53-
"args": {"by": "characters", "forward": false},
34+
"command": "insert_snippet",
35+
"args": {"contents": "$0\n'@" },
5436
}],
5537
},
5638
"context": [

0 commit comments

Comments
 (0)