4
submitted 10 months ago* (last edited 10 months ago) by marian@discuss.tchncs.de to c/neovim@programming.dev

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 comment's thread
view the rest of the comments
[-] autokludge@programming.dev 3 points 10 months ago* (last edited 10 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.~~

this post was submitted on 29 Dec 2023
4 points (100.0% liked)

Neovim

2159 readers
1 users here now

founded 1 year ago
MODERATORS