Bring vinegar, water, salt, pepper, and sugar to a boil in a small pan. Pack vegetables into jar tightly and pour brine over vegetables. Seal tightly with lid. Let cool on counter until room temperature and store in refrigerator at least a day to let flavors come together and up to a month.
Recipe by The Two Bananas at https://thetwobananas.com/homemade-refrigerator-pickles/