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

0 votes
0 answers
4 views

How can I use Regex in helpgrep?

0 votes
0 answers
7 views

When I use helpgrep, how can I highlight my search results?

4 votes
2 answers
158 views

Is there a way to resize a split such that it exactly fits its content (plus/minus N lines of buffer-space)?

0 votes
2 answers
38 views

Why doesn't echo % do anything in command mode?

1 vote
1 answer
122 views

Why so % does not work when vimrc changes with another editor?

1 vote
1 answer
13 views

How to prevent Vim from loading a specific system-wide ftplugin?

1 vote
2 answers
132 views

How to load formatter.nvim with lazy.nvim?

1 vote
2 answers
314 views

Where can I config my LSP server in AstroNvim?

1 vote
1 answer
103 views

Where to find debug logs for an LSP started with vim.lsp.start()?

0 votes
1 answer
164 views

TSEnable highlight - true by default

1 vote
2 answers
100 views

How can I create command abbreviations (`ca`) with the lua api?

1 vote
1 answer
27 views

What is the meaning of lbr in Vim?

24 votes
4 answers
6k views

I Have a Problem with Premature Yanking

0 votes
1 answer
107 views

How to delete all lines in a command script without provoking error?

1 vote
1 answer
64 views

Get motion used within operatorfunction?

0 votes
0 answers
16 views

How do I instruct plugin BufExplorer to open a buffer in an existing window?

1 vote
1 answer
570 views

neovim change keybind only for specific buffer type/plugin

1 vote
1 answer
57 views

Making a shortcut for compilling in C

0 votes
1 answer
31 views

How to show the clock and battery usage in lightline?

3 votes
2 answers
4k views

How do you disable automatic code folding?

2 votes
2 answers
473 views

How to validate and reference digraph /special character in Vim?

1 vote
1 answer
149 views

How to use command to insert a space in insert mode?

20 votes
3 answers
18k views

How do I check the version of NeoVim in vimscript?

0 votes
1 answer
36 views

Neovim slow while compiling LaTeX [closed]

3 votes
1 answer
210 views

How can I rename a command but still use the original command?

5 votes
1 answer
267 views

How can I decide whether a file can be opened in Vim or not?

1 vote
2 answers
28 views

Switch modes without losing the selection

1 vote
2 answers
83 views

:%s/xyz// is replacing every instance (without global specifier)

1 vote
1 answer
41 views

What is the difference between `au BufNewFile,BufRead *.py` and `au Filetype python` in this specific case?

0 votes
1 answer
17 views

Error when configuring lspconfig with mason

0 votes
1 answer
36 views

How to edit WebAssembly Text Format (`.wast`/`.wat`) files using NeoVim?

0 votes
1 answer
16 views

rightbelow not exhibiting the correct behavior

0 votes
1 answer
1k views

super key not working in Neovim on Linux

0 votes
1 answer
187 views

Prioritize TabNine autosuggestion over Intelephense with Coc

0 votes
1 answer
39 views

Can't input dot and method in html?

3 votes
1 answer
92 views

How to show line numbers only at fixed intervals?

0 votes
1 answer
153 views

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

4 votes
1 answer
101 views

How to get autocomplete for :set?

11 votes
3 answers
186 views

Auto completion for option values on the cmdline

2 votes
1 answer
46 views

How can I go to the definition (gD) in a new tab?

1 vote
1 answer
34 views

How to jump to location of completion from another file?

0 votes
1 answer
38 views

Resizing split panes in vim with {n}Ctrl-W +/- not working as described on MacOS

1 vote
1 answer
30 views

Autocommand is executed multiple times on filetype

0 votes
0 answers
13 views

How do I make a word optional in an errorformat?

0 votes
3 answers
334 views

Vim copy/paste from clipboard while keeping indentation

0 votes
2 answers
62 views

How can I define a buffer-local variable in a FileType autocommand using vim9script?

0 votes
1 answer
205 views

Useful script to manage buffer and window?

0 votes
1 answer
15 views

In Lua, how can I check if a buffer exists on disk?


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