A Good Engineering Habit: Knowing When To Stop
In ancient time, our ancestors wore heavy armor and run long distance, and supposedly, everyone was strong. Nowadays, we lift weight and run on ttreadmills to ensure that we are not becoming feeble after hours of sitting and code. With AI, perhaps something similar should be done with our brain?
I am setting up LazyNvim to use in addition to VSCode. I still have VSCode up for lectures notes/screenshots instruction, but I am learning LazyNVim and switching to using this for my own development. In fact, I am writing this essay blog on LazyNvim.
VSCode takes more resources, getting bloated. NVim is harder to setup resources, work with more barebone. Perhaps necessary to reclaim cognitive training, getting lost due to AI intergration. On that note, I am switch to Claude Code for my AI enabled coding, and forcing myself to use AI is a more “batch format” rather than instantatneous quesiton answer mode that Cursor gave.
File directory: . to set to root directory of the project Backspace to get back out. c to make a copy in the same directory.
NVim: Esc to interaction mode. i for Insert (Edit) mode. w to same q to quit. V (Shift + v) enters Visual Line Mode, highlighting full lines.Use j / k or } / { to expand your block selection.Press d (or x) to instantly delete the marked block.
wJump to the start of the next wordForwardbJump to the start of the previous wordBackwardeJump to the end of the next wordForwardgeJump to the end of the previous wordBackward
$Jump to the absolute end of the line0Jump to the absolute beginning of the line (column 0)^Jump to the first non-blank character (skips indentation spaces)
}Jump to the next blank line (end of current or next block)Downward{Jump to the previous blank line (start of current or previous block)Upward
]m ➔ Jump to the start of the next method/function.[m ➔ Jump to the start of the previous method/function.
I still use mouse periodically, the advantage of running nvim on a Mac/PC.
Enjoy Reading This Article?
Here are some more articles you might like to read next: