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…

  • autokludge@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    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.