Yes vim will help with small tasks even for beginner, still require advanced study how to use to get vim power. After hype impression of vs code I have found it only extend my workspace ability on the half. Usually I need code something from thin pc where vs code works slow or even I need to connect to cloud terminal instance to programming here on the place.
Form thin pc I preffer to use Zed code editor from google apps, this small js program works offline and do not freeze for large code base.
For terminals i prefer micro, it is golang written code editor.
Recently dev.github.com provides online code editor that works with ci/cd piplines.