Add Vim exercises, cheatsheet, and project polish

Add code golf challenges for Vim practice, a weekly review template, and
extend the cheatsheet with high-frequency commands. Fix the calculator
`multiply` implementation and correct a logger import path.
This commit is contained in:
2026-05-31 23:01:37 +08:00
parent 03f3114503
commit e8dfa0e2f1
14 changed files with 274 additions and 7 deletions
+30
View File
@@ -0,0 +1,30 @@
// ============================================================
// Code Golf 场景 2:对象属性重排
// ============================================================
//
// 目标:把 id 属性移到最后,用最少按键。
//
// 💡 提示:d d 删除行、p 粘贴、V 行选择、:m 移动
// ============================================================
const user = {
id: 1,
name: "Alice",
email: "alice@example.com",
age: 30,
};
// === 目标代码 ===
//
// const user = {
// name: "Alice",
// email: "alice@example.com",
// age: 30,
// id: 1,
// };
//
// ============================================================
// 我的最佳成绩:
// 日期: ________ 按键数: ________
// 操作日志: ________________________________
// ============================================================