To vim expert, I need help
I've searched in help doc of vim but i can't find solution for my problem. Maybe this is just my ignorance or vim doc isn't comprehensive enough, i don't know. Anyway, my question:
How to delete highlighted search result in vim? e.g. if i want to delete word "wolf" in file , i just search w/ command: Code:
/wolf [enter] and then what should i type next to delete word "wolf" ? Thanks 4 the answer. |
dw
|
hi there,
this was not his question. I suppose that the idea was delete all wolf entries in a file. So, my solution: Code:
:%s/wolf//g probably, there must be another 100000000 solutions for this problem. regards slackie1000 |
Thx, slackie1000, it works! :D
|
All times are GMT -5. The time now is 01:39 AM. |