STAY INFORMED
following content serves as a personal note and may lack complete accuracy or
certainty.
Minimal-Mistakes instruction
Useful vscode Shortcut Keys
Unix Commands
npm Commands
Vim Commands
Git Note
Useful Figma Shortcut Keys
Vim Commands
Execute
vim
or
vim path/to/file
Commands
Function | Mode | Description |
---|---|---|
Text Input | Insert Mode (i) | Enter text |
Copy a Line of Text | Normal Mode | Place cursor on the line to copy → yy |
Cut a Line of Text | Normal Mode | Place cursor on the line to cut → dd |
Copy a Specific Area | Visual Mode (v or V) | Select the area with the cursor → y |
Cut a Specific Area | Visual Mode (v or V) | Select the area with the cursor → d |
Paste Text | Normal Mode | Place cursor where you want to paste → p |
Save File | Command Mode (:) | w [file_name.txt] + enter |
Save File + Exit vim | Command Mode (:) | wq + enter |
Exit vim Without Saving | Command Mode (:) | q! + enter |