Surround Vim Selections with Anything | Expert Neovim

Опубликовано: 27 Март 2026
на канале: Code Smell
8,858
152

Surrounding Vim Selections with Anything!

vim-surround is a must have plugin. But, we can do so much more wrapping and surrounding. No plugins!

In this video we learn how to wrap (surround) any selection with anything we want and automate it! With vim-surround you can wrap selections and objects with matching pairs like brackets and quotes. We take that to the next level and show you how to wrap selections with anything you want. We demonstrate complete examples for JavaScript and Markdown. No plugins required!

Dotfiles: https://tinyurl.com/CodeSmellDots
vim-surround: https://github.com/tpope/vim-surround
CTRL-R: https://vimhelp.org/cmdline.txt.html#...

#Neovim #Vim #Lua

Brave Rewards Tips are much appreciated! If you are using Brave Browser, check out the right side of your address bar. Thanks!