自 2017 年持续迭代

lingti-code

AI 时代的开发者标配环境。Tmux + Neovim + Zsh 三件套,macOS、Ubuntu、Docker 一行命令装齐。

$curl -fsSL lingti.com/code/install.sh | bash

支持 macOS / Ubuntu / Docker

安装

安装

三种方式都行,都装出同一套环境。

$
curl -fsSL lingti.com/code/install.sh | bash

功能

新机器需要的一切

shell、编辑器、复用器、Git、AI 工具链都有默认好的配置,上百条别名和快捷键,个人化扩展也很方便。

Shell

ZSH + oh-my-zsh + agnoster 主题,100+ 条 git/docker/k8s 别名,fasd 的 z 式目录跳转,`~/.zsh.after/` 做机器本地覆盖。

编辑器

Neovim + SpaceVim 搭 nvim-lspconfig,自动挂载 pyright / gopls / tsserver / sourcekit / solargraph / rust-analyzer。ALE 保存时自动 fix。

多路复用

Tmux 用 Ctrl-a 前缀,装了 vim-tmux-navigator —— Vim 分屏和 tmux pane 共用 C-h/j/k/l 导航,大量会话 / pane / copy-mode 快捷键。

Git

数百条别名,`gpr-all` 并行 rebase 当前目录下所有仓库,`ghuse` 一键切换当前项目的 GitHub 身份(local user.email + SSH 别名),commitlint 强制 conventional commits。

AI

Claude Code CLI 原生配置(状态栏显示周用量 bar),`yolo` 跳权限模式,`ralphal` 按 `prd.json` 自主循环开发。

小工具

pdf2png、md2pdf、html2img、html2slides、yt-share、chrome-mcp、ferry —— 一组解决跨机调试、内容生成实际痛点的 CLI。

快捷键

快捷键速查

最常用的 40 条命令。按别名、展开命令或说明搜索。打 lingti 标签的是灵缇代码自己扩展的——其余都是标准 oh-my-zsh。

⌕
Alias
gst
git status
gaa
git add --all
gcmsg
git commit -m
gcam
git commit --all --message
gclingti
git commit --verbose

gitauthor-aware

gp
git push
gpf
git push --force-with-lease --force-if-includes
gpr
git pull --rebase
gpra
git pull --rebase --autostash
gco <br>
git checkout
gcb <br>
git checkout -b
grb
git rebase
grbc
git rebase --continue
gsta
git stash push
gstp
git stash pop
glog
git log --oneline --decorate --graph
gd
git diff
gds
git diff --staged
gpr-all [DIR]lingti
git pull --rebase in every subdir repo
ghuse [alias]lingti
switch per-repo GitHub identity
ghpush <alias>lingti
push with a specific account’s SSH key
z <query>
cd to best-matching recent dir (fasd)
v <query>
open best-matching recent file in vim (fasd)
...
cd ../..
clslingti
clear; ls
lllingti
ls -alGh (long list with human sizes)
ls_folder_sizelingti
du -sch .[!.]* * | sort -h
PRE -lingti
split pane vertically
PRE _lingti
split pane horizontally
PRE ^lingti
move current window to position 1 + focus
PRE C-plingti
enable HTTP proxy on 127.0.0.1:8668
PRE @lingti
prompt for proxy port (prefilled 8668)
PRE C-xlingti
disable HTTP proxy
C-]lingti
enter copy-mode (no prefix)
yololingti
Claude Code with --dangerously-skip-permissions
ralphal [N]lingti
autonomous iteration loop from prd.json
k
kubectl
kexec -p <proj>lingti
open a shell inside a matching pod
klogslingti
tail logs across matching pods
brewulingti
brew update && upgrade && cleanup && doctor
garlingti
reload every running zsh (killall -HUP)
aelingti
edit aliases.zsh
sslingti
source ~/.zshrc
md2pdf <file.md>lingti
markdown → PDF via headless Chrome
pdf2png <file.pdf>lingti
PDF → PNG per page
proxylingti
interactive port picker (default 8668)
proxy <port>lingti
set to specific port
proxy offlingti
unset
set_ss_proxy [port]lingti
SOCKS5 proxy (default 1080)

专业信赖

工业与学术共同信赖

灵缇产品家族每天用它交付代码——面向 1 万 + 企业客户、1000 万 + 个人用户;同时被中国人民大学智慧治理学院用于教学与研究。

中国人民大学 智慧治理学院
睿立思(1 万 + 企业)
灵缇产品家族(1000 万 + 用户)

自 2017 年 3 月 8 日持续维护,2026 年 1 月 29 日正式开源。目标是成为全球开发者打开新电脑第一件装的事。

开始使用

一行命令,一分钟内,第一天就能生产力拉满。

$curl -fsSL lingti.com/code/install.sh | bash
GitHub 查看源码
© 苏州瑞立思科技有限公司 版权所有苏ICP备19037090号