for chopping, cut off the root and the stem, cut the onion in half, and anchor the onion with your thumb while steadying the onion with your other fingers. hold your knife like julia is doing in the gif above, so you get a good grip while retaining good wrist movement.