Can you help me please? I have a long text and I need to find all words beginning with "hell" and copy these words at the end of the file. I found a helpful command :g/hell/t$ But this command copies the whole line. I want only the relevant word (and each word on a new line). Does anybody know how to solve this? thanks!!!
-- View this message in context: http://www.nabble.com/reg-expression-in-vim-tf2374614.html#a6615808 Sent from the Vim - General mailing list archive at Nabble.com.