Zipper Pull/Lanyard
This is ABOK 782.
Make a M shape with your cord.
Tie an overhand knot around the loop.
Bring A under, over and down through bight a.
Bring B over, under and up through bight b.
Pull the 2 strands and the loop in opposite directions to set the knot.
Tighten.