This is an automated archive made by the Lemmit Bot.

The original was posted on /r/neovim by /u/Moshem1 on 2025-06-12 12:24:58+00:00.


i know there are some lua alternative but go figure writing the complex vim regex going on in the config to achieve that.

https://i.redd.it/3ffqzdfmph6f1.gif

Plugin:

https://github.com/AndrewRadev/switch.vim

My config (with lazy.nvim):

https://github.com/mosheavni/dotfiles/blob/cbd0bb67779db07ec385a2854329631163028a8b/nvim/.config/nvim/lua/plugins/init.lua#L43-L112