VIM note - delete is an art: All the delete commands
jwr:
Via jasonwryanx delete character under the cursor (short for “dl”)
X delete character before the cursor (short for “dh”)
D delete from cursor to end of line (short for “d$”)
dw delete from cursor to next start of word
db delete from cursor to previous start of word
diw delete word under the cursor (excluding white space)
daw delete word under the cursor (including white space)
dG delete until the end of the file
dgg delete until the start of the file
From: collatzode
12 notes
POSTED Thursday July 14th
-
protectionme30 liked this
-
decoteau254 liked this
-
3picide liked this
-
onethingwell liked this
-
mcx liked this
-
magicology reblogged this from jwr
-
jwr reblogged this from collatzode and added:
From: collatzode
-
collatzode posted this