Hi people,

I use vim to write and edit text files written in common ASCII-Languages mixed with some words written in old greek letters (α, Σ, η, …). I want to find a way to search for every word written in old greek letters, so I can use / nN to cycle through them. Any ideas how to do this in the most elegant way?

I tried the regex pattern [α-ω]+ but I kinda already expected that this won’t work…

You are viewing a single thread.
View all comments
3 points
*

EDIT: does /[α-ω]\+ work?

Are the words wholly comprised of given characters? Could you supply an excerpt?

I gave it a shot and pattern [/w]*[α-ω][/w]* seemed to work.

permalink
report
reply

Community stats

  • 58

    Monthly active users

  • 153

    Posts

  • 533

    Comments