If I'm in normal mode and I accidentally press d vim will then wait for a motion to choose what to delete. Is their a motion or cancel command to not delete anything? Is the only option to delete something and then undo it?
2 Answers
Just hit the 'ESC' key. It will cancel whatever command you are in the middle of typing.