X VIM Command
How to use X Command in Linux VIM editor?
Explanation
X stands for Cut
This command is used to cut previous letter from current cursor position. It works similar to the backspace.
Usage:
X
Example:
Steps to cut text from the file using the vim editor.
- Open the file test.txt using the command
$ vim test.txt
- We can notice the text in the file. The cursor focus on the letter 't'

- Let us remove the previous letter 'u' from the current position.
Press X
- The text after the cut operation will be as follows