Skip to content

Commit b266a74

Browse files
committed
Symbol List: Improve List
- Remove shell (🐚) symbols: After all, we only list shell commands in the list anyway. - We now also indent the continuation of a command with two spaces.
1 parent f325369 commit b266a74

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Preferences/Symbols List - Commands.tmPreferences

+6-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
<integer>1</integer>
1313
<key>symbolTransformation</key>
1414
<string>
15-
# Replace command continuation symbols
16-
s/\ {2,}&gt;\ {1,}/ … /g;
17-
# Replace command start symbols
18-
s/^\ {2}\$\ {1,}(.+)/🐚 $1/;
15+
# Remove command start symbols
16+
s/^\ {2}\$\ +(.+)/$1/;
17+
# Indent command continuations
18+
s/^\ {2,}&gt;\ + (.+)/ $1/;
19+
# Replace repeated continuation symbols with whitespace
20+
s/\ {2,}&gt;\ {1,}/ /g;
1921
</string>
2022
</dict>
2123
<key>uuid</key>

0 commit comments

Comments
 (0)