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

8 votes
2 answers
120 views

Searching for a phrase in hard-wrapped text

10 votes
5 answers
1k views

Show exact number of matches even for large (>99) numbers

-1 votes
1 answer
24 views

Start a new search

3 votes
1 answer
1k views

Search throws E363: pattern uses more memory than 'maxmempattern'

75 votes
12 answers
22k views

How to find and replace in Vim without having to type the original word?

0 votes
1 answer
132 views

How to get the same message and error behavior as normal `n` when calling `normal n` in function

35 votes
11 answers
31k views

How to automatically turn off "hlsearch" after I'm done searching?

2 votes
1 answer
37 views

How to call incremental forward/reverse search inside function in Neovim?

0 votes
0 answers
17 views

Map key code to specific forward search query

14 votes
3 answers
3k views

What's the difference between the '\zs' and '\@<=' atoms in Vim regex?

0 votes
0 answers
31 views

How to tab autocomplete in command-line and search using CoC?

0 votes
1 answer
34 views

Replace inside matching parentheses

1 vote
1 answer
19 views

Can the '[[' search algorithm be changed to match a '{' not in column 1?

0 votes
2 answers
19 views

How to change the color of "search hit BOTTOM, continuing at TOP" to red?

Browse more Questions