Laravel

Practical Guide of Vim as primary developer

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

| command | details | | ---------------------------------- | ------------------------------- | | :split or :sp | Split the windows | | ctrl + w + vim command j/k | Switch into the splited windows | | :q | Close the split windows |

Vertical Split

| command | details | | ---------------------------------- | ------------------------------- | | :vsplit or :vs | Split the windows | | ctrl + w + vim command h/l | Switch into the splited windows | | :q | Close the split windows |

#Motions, Commands, and Text Objects

| command | details | | ------- | ----------------------------------------------------------------------------------- | | % | Toggle cursor from one bracket to another. Your cursor should be on top of bracket. |