timerring

Vim Cheatsheet

January 13, 2026 · 4 min read
Cheatsheet
Vim | Linux

Vim is a powerful command-line text editor that’s been around for decades, and it’s still widely used today. Whether you’re SSH-ing into a remote server or just prefer the keyboard-centric workflow, Vim is often the go-to choice. The learning curve can be steep at first — I remember the first time I opened Vim and couldn’t even figure out how to quit. But once you get the hang of it, the efficiency gains are real. This cheatsheet covers the essentials I use most often, and I’m trying to condense them.

...


Git Cheatsheet

January 7, 2025 · 4 min read
Cheatsheet
Git

This is a Git cheatsheet that distills my years of experience.

  • Workspace: The directory of the repository. The working directory is independent of each branch.
  • Staging Area (Index): A temporary area for data, similar to a cache before writing from the working directory to the repository. The staging area is independent of each branch.
  • Repository: Stores all code versions that have been committed to the local repository.
  • Version Structure: A tree structure where each node represents a code version.
...


Pipes, Environment Variables, and Common Commands

July 27, 2022 · 13 min read
Cheatsheet
VPS | Linux

管道类似于文件重定向,可以将前一个命令的stdout重定向到下一个命令的stdin。

  1. 管道命令仅处理 stdout,会忽略 stderr (标准错误)。
  2. 管道右边的命令必须能接受stdin。
  3. 多个管道命令可以串联。
...


Tmux Common Commands

July 26, 2022 · 1 min read
Cheatsheet
Tmux | VPS

A tmux instance can contain multiple sessions, a session can contain multiple windows, a window can contain multiple panes, and a shell dialog is opened in each pane.

...