It’s hard to explain in words. I quickly searched for a video about it and this one shows the basics pretty good: https://youtu.be/w3JCjsIOMdM?si=-dS-m940AGHFgCG-
Sublime Text is a bit more powerful in that regard (and also more performant with very large files) which is why I still keep it installed even though I switched to VSCode long time ago. I guess Vim can do even more but I can’t get myself to learn it well.
Eine bessere Werbung hätte sich Trump nicht wünschen können.