There's different school of thought on that, but usually what I do is to set all unused pin to input, and tie them directly to gnd. If I feel that I may need those i/o later, I may use resistors or jumpers to tie them to gnd.

Some will set unused I/o as output, assign a level and let them float. In conjunction with a nice ground plane this might work.