Laravel School

Snippet Github Twitter

VS Code VIM daily practice

Thouhedul Islam
2 months ago
210 views

Hey,

I practice these Key binding in my day-to-day basis work with VIM and VS Code.

Switching Tabs

Command Keyboard Shortcuts
Switch to Tab 1 command + 1
Switch to Tab 2 command + 2
Switch to Tab N command + n

Insertion

Command Keyboard Shortcuts
Insert something end of line A
Insert something in after current cursor possion a
Insert something start of line I
Insert something in before current cursor possion i

Menupulation

Command Keyboard Shortcuts
Delete a whole line dd
Delete a whole line D
Delete a single character x
Copy yy
Paste p

Highlight / Select

Sometimes, you may need to highlight or make it non-highlightable.

Command Keyboard Shortcuts
No Highlight until next search :noh
Turn off highlight completely set nohlsearch

Others

Command Keyboard Shortcuts
Go to Definition gd
Go to Help gh
Bring current line into horizontally center of your editor zz

Hello. I’m Thouhedul Islam. Some people also know me as Suchi.

I am a Full-stack Developer. I love to play with PHP especially Laravel, JavaScript, MySql, and the latest web technology. Currently, I am working for GLEIF as my day time job.

At night I love to solve problems for the community. I love to be active at Laracasts.