Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.

Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top

Explore our questions

1 vote
1 answer
47 views

Syntax - Match word based on a previous match

0 votes
1 answer
34 views

Apply normal command to all regex matches on the same line

0 votes
3 answers
32 views

Strange result for grouping replace in a line

2 votes
2 answers
534 views

Why [\w-] can't match \w or -?

1 vote
1 answer
74 views

How to match a specific column position till the end of line?

0 votes
1 answer
467 views

regex and matchstr to get final directory and file in path

0 votes
1 answer
20 views

Use regex pattern as argument to function

0 votes
1 answer
30 views

Simplifying a complex regex

0 votes
3 answers
43 views

Replace all occurrences of ' 1 ' with matched text in one line

1 vote
3 answers
1k views

Replace regex group in nvim

0 votes
1 answer
29 views

Substitute in multiple isolated parts of a string

1 vote
1 answer
44 views

How to use alternation operator in ripgrep + vim?

5 votes
1 answer
248 views

How can I edit a regular expression search string as if it were a file?

1 vote
0 answers
27 views

How do I turn on `\v` by default for Vim/Neovim regexes?

Browse more Questions