How do I delete first word of each line in Vim?
How about a pattern on each line?
Although this is an old question, if someone else is looking to do this you could do use visual block.
- press ctrl+v
- select all the lines you would want to edit
- now use arrow keys to select the entire word
- press 'x'
That would delete the first word in all the lines. This method is especially very handy to edit log files