This commit is contained in:
2025-03-25 09:13:13 +05:30
parent 5fdf64fe29
commit 4c703aa810

View File

@@ -37,6 +37,29 @@ Normal mode commands:
g + (ctrl+g): To get more detailed information of whatever g + (ctrl+g): To get more detailed information of whatever
the previous was showing. the previous was showing.
-> Deleting text from file in normal mode:
x: To delete the right side byte of the current cursor position.
X: To delete the left side byte of the current cursor position.
Using d to delete words with motion operation:
<operation>{motion}
for ex:
dw (this delete the what the w command would move
the cursor by)
dw: To delete a word in front of the current cursor position.
dl: To delete next byte towards right from current cursor position on
current line.
dh: To delete next byte towards left from current cursor position on
current line.
dj: To delete whole current line and the line below.
dk: To delete whole current line and the line above.
d$: To delete from current position of cursor to the end of
the line.
Line mode: Line mode: