Procedure: * In Vim, copy the code shown below, then enter :@" to execute it (or put the code in your vimrc). * Press V then move the cursor to select the lines whose words you want to count. * Alternatively, select no lines, in which case all words in the buffer will be counted. * Type :WordFrequency and press Enter. A new window will open with a scratch buffer showing the word frequencies.
| Attributes | Values |
|---|---|
| rdfs:label |
|
| rdfs:comment |
|
| Version |
|
| dbkwik:vim/property/wikiPageUsesTemplate | |
| Previous |
|
| Category |
|
| Author |
|
| Subpage |
|
| Complexity |
|
| Created |
|
| ID |
|
| NEXT |
|
| abstract |
|