Suppose I would like to find the number of occurrences of the word 'asd' in a part of file, eg., from line 21 to line 234. How would I do that in VIM?
preguntado el 11 de junio de 12 a las 19:06
Try this for counting
Since your vim is so old, try greping and count like
sed -n 21,234p filename | grep -o asd | wc -l