mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Vim mode has an operator stack. Every time an operator is pushed to the stack, we ask if it is complete. If it's complete, we compose it with the operator below it, then pop that operator if its complete. When no operators remain on the stack, we call execute the final composed operator. So far we only have DeleteChar (x) and NumericPrefix operators.