Posts

Showing posts from August, 2023

Use VIM Efficiently.

Image
List of some essential Vim commands along with their descriptions: 1. Navigation :    - `h`, `j`, `k`, `l`: Move left, down, up, and right respectively.    - `gg`: Go to the first line of the file.    - `G`: Go to the last line of the file.    - `0`: Move to the beginning of the line.    - `$`: Move to the end of the line.    - `w`: Move to the beginning of the next word.    - `b`: Move to the beginning of the previous word. 2. Editing :    - `i`: Enter insert mode at the current cursor position.    - `a`: Enter insert mode after the current cursor position.    - `o`: Insert a new line below the current line and enter insert mode.    - `O`: Insert a new line above the current line and enter insert mode.    - `x`: Delete the character under the cursor.    - `dd`: Delete the current line.    - `yy`: Yank (copy) the current line.    - `p`: Pa...