by a whisker/hair

на волосок, чуть-чуть не

He shot at me and just missed hitting me by a hair.

Другие идиомы: