How to store the result of %s/My_search//gn into a variable in vim.?
I need to the first word from the result.
means if the result is 3 matches on 5 lines then, i want that word "3"
How to store the result of %s/My_search//gn into a variable in vim.?
I need to the first word from the result.
means if the result is 3 matches on 5 lines then, i want that word "3"