I insert the two ends of the cord into a piece of heat-shrink tubing (available at electronics supply stores). Local camping store has lanyards for a dollar or so, with a convenient clip on the end; I use this method on these lanyards, by making a single cut in the cord.