Want to better separate the apps within your Dock? Try adding a space to break them up.
OS X Yosemite's Dock gives you a handy way of launching applications that you use the most frequently with a single click. To organize them, you can click and drag them around however you like. What you can't do, at least not directly from within the Dock's preferences, is divide up the apps using an easy visual separator. Fortunately, there's a workaround ? if you're comfortable using the Terminal command line.
Full story from the iMore Blog...