Horizontal list to vertical list and vice versa - Sublime Text 2

Seth Urquhart picture Seth Urquhart · Mar 15, 2013 · Viewed 32.9k times · Source

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.

Answer

Lucky Soni picture Lucky Soni · Mar 15, 2013
  1. Select the text you want to convert
  2. Command + J on Mac or CTRL + J on Windows

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