Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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

Top Questions

3 votes
2 answers
328 views

The way to excute same command in command-line mode multiple times

3 votes
1 answer
621 views

Installing Neovim 0.7 on Ubuntu?

5 votes
1 answer
261 views

Is it possible to break out of nested loops?

1 vote
1 answer
186 views

Is it possible to execute Ex Commands (colon commands) in VimScript (vimrc/init.vim)?

0 votes
2 answers
211 views

How to configure neovim to properly format python code?

0 votes
1 answer
125 views

How is this called, and what do I need to do to get it in Neovim?

1 vote
1 answer
90 views

Wrap :retab! or create a new command that calls it?

1 vote
1 answer
84 views

A multiple movement of the cursor

2 votes
1 answer
79 views

delete from current position to end of paragraph when using hard wrap

5 votes
1 answer
46 views

Yanking results displayed in status line

0 votes
3 answers
22 views

How to remember and recall cursor position?

0 votes
1 answer
70 views

How to remove vim trailing white space?

1 vote
1 answer
54 views

How does vim executes a plugin?

0 votes
2 answers
50 views

Why is my colorscheme showing weird colors?

0 votes
2 answers
37 views

What's the configuration used to make vim remember modifications after closing the file?

0 votes
2 answers
61 views

How to create a lua function that gets called for a vim (neovim) motion

0 votes
1 answer
75 views

Neovim Lua: Error while calling lua chunk [...] '' expected near 'local'

1 vote
1 answer
56 views

What factors control the color scheme in a terminal?

2 votes
1 answer
42 views

`:g` to move matching lines to the end of the current selection?

1 vote
2 answers
41 views

Check if VimPlug is installed in .vimrc

1 vote
1 answer
51 views

What is the significance of duplicating syntax-group name references?

1 vote
1 answer
48 views

How to comment html in php file in vim?

0 votes
2 answers
48 views

How to "enter" the selected folder in the vertical wildmenu?

3 votes
2 answers
29 views

search for sentences that contains a few keywords (that is not in proper order)

0 votes
2 answers
35 views

Execute the line pipping its STDOUT to a new tab

1 vote
2 answers
34 views

Upgraded my mac OS and now the vim colors are different. Is there an easy way for me to change the default syntax?

1 vote
2 answers
26 views

How to find/highlight a word in the current line only

1 vote
2 answers
33 views

Write the current paragraph to temp file in Vim

1 vote
1 answer
32 views

Is it possible to keep folds saved when I copy from one file to another?

0 votes
1 answer
45 views

Executing Python scripts in Vim such that Vim remembers previously run code

2 votes
1 answer
44 views

Is there a way to run an ex command without hitting colon first?

1 vote
0 answers
43 views

gVim ':terminal' accents don't work

0 votes
1 answer
33 views

Cursor not changing to beam in insert mode when using Kitty terminal

1 vote
1 answer
33 views

Is there a way to restore a previous version of file in vim

0 votes
2 answers
32 views

How to get the buffer number of `:bn`?

0 votes
1 answer
41 views

How can I remove vim-plug, so I can migrate to Packer?

2 votes
1 answer
31 views

vim-workspace does not save set options

1 vote
1 answer
38 views

Error detected while processing BufRead Autocommands

0 votes
1 answer
23 views

vim - why is the cursor different in different terminals

0 votes
2 answers
22 views

How can I strip footnotes using :global?

0 votes
1 answer
36 views

How can I get netrw to not move the cursor when I return to it

0 votes
1 answer
27 views

!v command UNIX - relation to Vi or vim [closed]

1 vote
1 answer
21 views

Execute a shell command over a visual range with a user input prompt?

0 votes
0 answers
34 views

How to use tzachar/cmp-tabnine in NvChad?

0 votes
0 answers
34 views

Explanation of elvis' block system, specifically the block cache

0 votes
1 answer
26 views

zf add fold marker comments with preceding spaces

1 vote
1 answer
25 views

How can I remove duplicates in comma-separated text, ignoring the first column, keeping only unique lines?

0 votes
1 answer
31 views

How to map a sequence of vim commands to a shortcut?


Looking for more? Browse the complete list of questions, or popular tags. Help us answer unanswered questions.