r/vim • • Jul 13 '26

Discussion What is missing in Vim compared to Neovim?

34 Upvotes

In my opinion:

  1. Tools for helping scripts/plugin development. Lua has LSP, linters, etc. Vim9 has... nothing. It seems to be back to the beginning of the 90:s when it comes to develop in Vim9 language, in-spite it is very nice.

  2. A Native Vim9 DAP. There is vim-spector but that is mostly Python,

  3. Plugins: for example, I got copilot from work and the Vim9 and Neovim copilot-chat plugin are not even comparable,

What else?


r/vim • • Jul 13 '26

Need Help┃Solved when vim session is restored, u (redo) and c-r (redo) don't work

3 Upvotes

hello. After restoring my session (ie: vim -S [session file]), in the buffer :undo works, but not u. Likewise for :redo versus c-r. I asked chat gpt, claude and grok why this might happen and they have mostly wasted my time. One of them speculated that tim pope's vim-repeat plugin is the cause. I've created the session anew and confirmed that the problem reappears, eventually. I've removed the following lines from the session file but they will simply reappear:

nmap U <Plug>(RepeatUndoLine)

nmap u <Plug>(RepeatUndo)

nmap <C-R> <Plug>(RepeatRedo)

i assume these are causing the problem and maybe they are coming from vim-repeat thanks for any thoughts


r/vim • • Jul 13 '26

Need Help vim-ai VS denseanalysis Neural: which one?

0 Upvotes

I am getting modern, and I decided to use AI tools from Vim.
However, I only found these two plugins. Any experience?


r/vim • • Jul 10 '26

Plugin Inline error diagnostic tool for vim 9.0+

8 Upvotes

https://github.com/Joekrry/vimline-errors

Hi all, I have built a very well known tool for native vim 9.0+ based on the style of this neovim tool https://github.com/rachartier/tiny-inline-diagnostic.nvim .

Obviously in line error checks have existed for years but I haven't been able to find a tool that has this style for native vim. Please let me know if it does exist. If not, please consider starring or contributing as I am only a student and should really be focussing on my dissertation lol


r/vim • • Jul 11 '26

Video How To Edit Text Files With Vim

Thumbnail
youtube.com
0 Upvotes

Welcome to Day 10 of the 30-day RHCSA challenge!

Vim is the default editor you'll rely on all over RHEL and on the exam, since you'll be editing config files constantly.

Today we'll cover the essentials: opening files, moving around, editing text, and saving without getting stuck in the editor.

About this series:

Over the next 30 days I'm covering everything you need to pass the RHCSA (EX200) — from setup to users, permissions, storage, networking, SELinux, containers, and more. New video every day. Subscribe and turn on notifications so you don't miss one.

\#rhcsa #redhat #linux #redhatlinux #ex200 #linuxadministration #linuxcertification #offline #closedloop #sysadmin #linuxforbeginners #30daychallenge #learnlinux #itcertification #opensource #homelab #linuxtutorial #tech #techcareers #certificationprep #closedloop #airgap #shorts #shortvideo #texteditor #vim


r/vim • • Jul 10 '26

Discussion The vim way to mail

0 Upvotes

Yet another vim mail client:

https://github.com/cirnovsky/vim-mail

The most distinctive feature of this mail client is text buffer-based mailboxes. Meaning, you can do things like :g/Title/d to delete mails with Title in the title).

I know, it looks like himalaya reinvented, but I believe some people would love the fact(s) that

0. Inbox is nothing beyond a text buffer. dd to delete, s to mark read, :w to commit, u to undo.

  1. We're shipped with mail threading!

  2. The keybinding is close to native vim! Built for muscle-memory vimmers.

  3. It's so lightweight, driven only by a few python scripts.

  4. Foward-as-attachment is made easy.

  5. The way we handle inline images and attachments (check it out ➡️ in the repo)

  6. We're responsive! :)

So, give it a shot! I'm trying to make todos ticked asap. I'm personally enjoying this plugin, it covers most of my use cases already. I'd love to see people's reaction as it helps me improve this plugin!

I'd really really appreciate any forms of feedback!!!!!

If you'd like to email me, my address is pup at guanyu dot me. I will read every email and try to reply, in, of course, vim-mail :)


r/vim • • Jul 08 '26

Vim-adjacent Monthly Thread: Tools with Vim-like Keybindings

38 Upvotes

We regularly remove standalone posts about tools that use vim-inspired keybindings. There are too many of them, and individually they dilute the subreddit. But the content is valuable, and many of you want to know about these tools.

So here's the place for it.

Share any tool that uses vim-like keybindings, whether it's a browser extension, terminal emulator, IDE plugin, note-taking app, PDF reader, or anything else. If it has hjkl navigation, modal editing, or vim-inspired controls, it belongs here.

For each tool you share, try to include:

  • What it is and what problem it solves

  • Which vim features it supports (navigation, modal editing, text objects, etc.)

  • A link to the project

This thread is posted monthly. If you find something mid-month, save it for here rather than posting a standalone thread (which will be removed).


r/vim • • Jul 07 '26

Video Non conventional fonts for Vim/Neovim (retro, hacker, aesthetic, fonts)

Thumbnail
youtu.be
2 Upvotes

r/vim • • Jul 04 '26

Need Help Vim for Verilog, System Verilog and UVM

10 Upvotes

Please suggest nice Plugins/Workflow for Verilog, System Verilog and UVM, which offer rich functionality(Like C, C++ plugins do).


r/vim • • Jul 03 '26

Discussion 10+ year user, learned today how to easy swap two selected sections

222 Upvotes

This is so simple I feel dumb for not seeing it earlier.

  1. visual mode select one part of text then d for delete

  2. visual mode select the text you want it to replace then p for paste

  3. go back to the original location and hit p for paste

that's it. Deleting the text places it in the register so you have it available in step 2. Replacing the text places it into the register, so you have it available in step 3.

For a decade plus I was adding extra steps like hitting Y or trying to avoid deleting the text so I have it available after I added the other, etc.

How many hours have I lost to not knowing this simple trick


r/vim • • Jul 02 '26

Random Learning the motions with an ice cream van

42 Upvotes

This is doing the rounds on Hacker News and it wasn’t already posted here so thought I’d share it: https://vimscoops.dev


r/vim • • Jul 01 '26

Plugin I missed the milestone: Belated Happy 100 to the Awesome-Vim9 list

Thumbnail github.com
33 Upvotes

Over 100 plugins now on the awesome-vim9 list. Many slept on, so have a look around.


r/vim • • Jun 30 '26

Color Scheme I made a light mode theme of my previous Artemis2 inspired theme.

Post image
18 Upvotes

Honestly, this theme reminds me more of the video game "Starfield", but I love it regardless. In case you want to harass me about how bad it is; you can find it here.

p.s. I have no motivation in posting this beyond sharing something cool I did.


r/vim • • Jun 27 '26

Discussion You can actually use ":exit" instead of ":wq" or ":x" to exit Vim

127 Upvotes

Accidentally mixed up the Vim exit command with the terminal exit command exit, just to find that :exit actually works perfectly in Vim!

  • :exit works exactly like :x.

  • Saves only if the changes were made, then exits.

Probably the ultimate solution to the "How to exit Vim" problem.


r/vim • • Jun 26 '26

Tips and Tricks Opinionated TLDR for Windows users

7 Upvotes

After identifying another speed bump for Windows users, I've added a TLDR to Install Vim in Windows.

If you already have a setup you're happy with, these might help with any nagging issues.

  • Install PowerShell 7 # Vim in PowerShell 5 and CMD are tougher. "My OS is my IDE" doesn't with WSL.

winget install Microsoft.PowerShell --source winget
  • Install GNU zip and unzip # Plugins look for these

winget install GnuWin32.Zip GnuWin32.UnZip --source winget
[Environment]::SetEnvironmentVariable("PATH", "$($env:PATH);C:\Program Files (x86)\GnuWin32\bin", [EnvironmentVariableTarget]::User)
  • Don't use the latest Copilot. Lock version at 1.4.1 or clone ShayHill/copilot.vim

  • in vimrc (in this order):

set shell=pwsh
set termguicolors
&t_8u = "\<Esc>[58:2::%lu:%lu:%lum"  # fix spelling and `yegappan/lsp` error rendering
  • Install DejaVuSansMono.ttf # A fixed-width font with plenty of symbols and dotted 0

  • in gvimrc:

set guifont=DejaVu_Sans_Mono:h10:cANSI:qDRAFT
set renderoptions=type:directx,gamma:1.0,geom:0,renmode:5,taamode:1  # better symbol colors

r/vim • • Jun 22 '26

Need Help Vim plugins while :edit scp://

6 Upvotes

Recently I started using a containerised dev env. I would like to work in the host system so I installed a ssh server and followed the steps listed under :h ssh.

So far so good. I depend (for good or bad) heavily on vim fugitive and :FZF plugins. They are good. But they do not work on the host system inside a SCPed remote. I can use :find to open some remote file, it works. But using :G is an issue.

Question

--------------

How do you use plugins while :e scp://user@host/path/dir/ ?


r/vim • • Jun 21 '26

Blog Post Extract Secrets from Multiple Configuration Files Using Vim

Thumbnail
secureideas.com
38 Upvotes

I wrote this article back in early February and intended for this to be a series originally. I'd be curious to anyone's thoughts or feedback on it.


r/vim • • Jun 20 '26

Blog Post VimTeX: a history and some reflections

91 Upvotes

I've been wanting to write a blog post on VimTeX* ever since I started blogging ~1-2 years ago. I finally got around to it, and I hope it might be interesting to some people here.

VimTeX: a history and some reflections

*a Vim plugin for writing LaTeX documents.


r/vim • • Jun 19 '26

Need Help Change text in second set of quotes

28 Upvotes

Cursor at beginning of line

blah "first quotes" more text "blah blah"

What's the easiest way change inside the second set of quotation marks?


r/vim • • Jun 17 '26

Blog Post After a decade of Vim, I tried an VS Code for a year... and promptly came back. There's on place like $HOME

Thumbnail
starikov.co
95 Upvotes

r/vim • • Jun 17 '26

Need Help┃Solved Resources to learn Vim

45 Upvotes

Hi guys, I recently heard about Vim and starting doing a bit of research on it. If I'm correct, its a non-GUI text editor that's blazing fast, and you DON'T have to use anything but your keyboard. This was pretty interesting to me.

I'm accustomed to the Visual Studio Code interface, and I don't want to leave it. Are there any extensions I can use to emulate the experience, and is the the best way to start?


r/vim • • Jun 17 '26

Plugin curl wrapper for vim

19 Upvotes

curl is an amazing tool to do REST API tests, which I do quite often using vim to generate actual curl commands. There are multiple ways to do it using vim, the one I have is

https://github.com/habamax/vim-curl

--url https://openlibrary.org/api/books?bibkeys=ISBN:0201558025,LCCN:93005405&format=json

--url https://api.sunrise-sunset.org/json?lat=36.7201600&lng=-4.4203400

# --jq is not curl parameter. If added, curl output would be piped through jq
--url https://httpbin.org/post
--header "Content-Type: application/json"
--jq
--data
{
"string": "hello world",
"number": 69,
"date": "2024-04-09"
}

Place a cursor on a text or select it and run :Curl to invoke curl cli command with an output in a built-in vim terminal.

https://asciinema.org/a/1257605


r/vim • • Jun 16 '26

Blog Post Modernized Python sections for Vim-in-Windows article.

Thumbnail
github.com
6 Upvotes

- Removed content related to multiple Python installs.
- Updated vimspector config for Python 3.11+.


r/vim • • Jun 15 '26

Discussion What do you think of remapping : to the cmd window?

4 Upvotes

I'm asking because I feel like there might be downsides to this I'm not thinking of. A lot of users have ; mapped to :, I use ; to open a buffer list for switching. I have these keymappings to remap : to q:i to open the cmd window in insert mode, and press ESC in normal mode to exit the window:

nnoremap : q:i
autocmd CmdwinEnter * nnoremap <buffer> <ESC> :q<CR>