Search code examples
vimbackspace

How to backspace from command mode in Vim?


If I'm in command mode, how do I backspace? Hitting the delete key on my Macbook just moves the cursor to the left one space. The fastest way I know to do this is h, x, but is there a better way, maybe with one key?


Solution

  • x deletes to the right, X deletes to the left

    This may be useful for you: Vim Cheat Sheet