Reputation: 599
I can't remember where I saw it or read it, but appearantly there is a shortcut for transforming a horizontal list of words seperated with commas or even without commas, into a vertical list allowing me to quickly build a UL with LI tags for the vertical list.
I just need the shortcut to make a vertical list out of a common sentence, I have a windows 8 OS.
Upvotes: 13
Views: 43860
Reputation: 21
CTRL + Shift + J will convert vertical to horizontal.
CTRL + J will convert vertical to horizontal
Upvotes: 2
Reputation: 6888
Also here is a list of some more useful shortcuts https://docs.sublimetext.io/reference/keyboard_shortcuts_osx.html
Other great resources
http://www.sublimetext.com/docs/2/
https://tutsplus.com/course/improve-workflow-in-sublime-text-2/
https://docs.sublimetext.io/guide/customization/key_bindings.html
Upvotes: 27
Reputation: 181
for vise versa - horizontal to vertical
suppose not the best way but i use it
works for lists such as A,B,C,... maybe also possible for other
1) find all {your delimiter} (Ctrl+F , Alt+Enter)
2) remove multi selection from delimiter (Shift+<- ->)
3) Enter
Note: Even Alt + F3 does the same in one stroke !!
Upvotes: 7
Reputation: 11
CTRL-H (Find and Replace)
Find = "," or your delimiter Replace with = "\n"
Make sure, the EXTENDED radio button is selected in the Search Mode block
Upvotes: 0