Answers for "vim remove last word and replace"

1

vim replace last match on every line

# Basic syntax:
:%s/.*\zs<search_pattern>/<replacement>/
Posted by: Guest on July-22-2021
0

delete previous word vim

dw => deletes word after cursor
db => deletes word before cursor
dvb => deletes word before cursor including selected character
Posted by: Guest on July-20-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language