I want to find the number of times 'x' is present in my file, so I submit %s/x//gn and get the correct answer. How can I capture the resultant count into a variable using vimscript on the ...
Suppose I have a pipe-delimited text file. I suspect that one of the columns might have an embedded pipe character ('|'). I know there are 8 columns in the file, and each row should have 8-1 = 7 pipe ...
I'm currently using gVim on Windows XP, and I have 2 follow-ups to my core question: What is the best method of finding the line with the most characters? My current method: I use the regex search ...