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

0 votes
1 answer
67 views

Stop flushing the last command when hitting enter

1 vote
3 answers
785 views

How to detect IntelliJ/IdeaVim in vimrc?

0 votes
2 answers
182 views

How to conditionally re-bind <Enter> key depending on file?

0 votes
2 answers
107 views

How can I write a custom formatexpr to specify the point at which 'gq' wraps?

1 vote
1 answer
612 views

How to get the current word starting from the cursor?

4 votes
2 answers
454 views

How can I make zz not center cursor when approaching end of file?

1 vote
1 answer
36 views

How can I match a regexp containing newlines?

116 votes
7 answers
133k views

How to edit binary files with Vim?

23 votes
6 answers
19k views

Vimscript - Surround word under cursor with quotes

0 votes
0 answers
31 views

How to use <Leader> in a normal command today?

0 votes
1 answer
151 views

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

1 vote
1 answer
122 views

Execute command inside if

12 votes
2 answers
2k views

Prevent refresh of screen until function completes

1 vote
1 answer
33 views

Neovim paste without overwriting register w/ Lua

Browse more Questions