Wc - mawww/kakoune GitHub Wiki

https://en.wikipedia.org/wiki/Wc_(Unix)

Display the amount of words in the current selection

Use the following keybinding to have the amount of words in the current buffer displayed in the statusbar:
map global user 'w' %{:echo %sh{wc -w <lt><lt><lt> "${kak_selection}"}<ret>} To use it, select some text, and hit the user key (comma) followed by 'w'`.

⚠️ **GitHub.com Fallback** ⚠️