Practical Guide of Vim as primary developer

Practical Guide of Vim as primary developer

Posted on:July 3, 2023 at 10:00 AM

Hello friends.

I have been using vim on top of VS Code as a primary editor over last couple of years for my day to day job. I am really happy to see my progress of using vim extension.
However I realized inspiring by my colleagues that using vim directly would be way performant for me. Therefore I decide to use neovim as a primary editor.

In this post I will list down all the commands that I use for my day to day basis work.

Table of Content

Window Management

Spiting Windows

Horizontal Split

commanddetails
:split or :spSplit the windows
ctrl + w + vim command j/kSwitch into the splited windows
:qClose the split windows

Vertical Split

commanddetails
:vsplit or :vsSplit the windows
ctrl + w + vim command h/lSwitch into the splited windows
:qClose the split windows

Motions, Commands, and Text Objects

commanddetails
%Toggle cursor from one bracket to another. Your cursor should be on top of bracket.