How to shuffle lines randomly in Sublime Text


Ramdomly Shuffle lines in Sublime Text Editor
Ramdomly Shuffle lines in Sublime Text Editor

If you have a text file and you want to shuffle the lines in the file randomly, you can do that using Sublime Text Editor in the following way,

  1. Open the file in Sublime Text tab,
  2. Goto Menu: Edit -> Permute Lines -> Shuffle,
  3. You should see the lines in the file are suffeled!
Example: Initial file text
Line 1
Line 2
Line 3
Line 4
Line 5
After using the Shuffle Option
Line 4
Line 2
Line 3
Line 1
Line 5


Have Questions? Post them here!

Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram