惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
IT之家
IT之家
V
V2EX
Jina AI
Jina AI
V
Visual Studio Blog
有赞技术团队
有赞技术团队
博客园 - 司徒正美
博客园 - 叶小钗
The Cloudflare Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
Google Online Security Blog
Google Online Security Blog
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
N
News and Events Feed by Topic
N
News and Events Feed by Topic
The Last Watchdog
The Last Watchdog
W
WeLiveSecurity
月光博客
月光博客
Security Archives - TechRepublic
Security Archives - TechRepublic
Webroot Blog
Webroot Blog
SecWiki News
SecWiki News
博客园_首页
罗磊的独立博客
量子位
Latest news
Latest news
I
Intezer
V
Vulnerabilities – Threatpost
A
Arctic Wolf
Last Week in AI
Last Week in AI
Recent Commits to openclaw:main
Recent Commits to openclaw:main
S
SegmentFault 最新的问题
S
Security Affairs
阮一峰的网络日志
阮一峰的网络日志
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
N
News | PayPal Newsroom

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Know Your Environment: Building Fluency with Shortcuts, Terminals, and Git
Garrin Costa, Jr. · 2026-06-02 · via DEV Community

Cmd+C, Cmd+V, Cmd+Z — the basics settle into procedural memory quickly. Beyond that, most shortcuts remain things we intend to learn eventually.

The resources are easy to find. Most applications expose shortcuts directly in their menus, publish reference pages, and allow custom key bindings. Yet a 2005 study by Lane, Napier, Peres, and Sandor found that even experienced users relied on keyboard shortcuts less than 10% of the time, and that time spent using a program had little relationship with keyboard shortcut proficiency. Exposure alone doesn't build skill.

What builds it is intentional repetition — and a willingness to be slower before you're faster. Fitts and Posner's three-stage model of skill acquisition describes the progression: cognitive (active recall, slower execution), associative (familiarity forming, still requires attention), autonomous (fires without thought). Remington, Yuen, and Pashler put a number on the crossover: after roughly 200 repetitions, keyboard shortcuts became consistently faster than menu navigation. A new shortcut might cost you a beat every time you reach for it on day one. By the end of the first week of consistent use, that friction is mostly gone.

For developers working in digital environments all day, the environment itself is part of the work. Every unnecessary trip through a menu is a small interruption. Repeated across a session, across a week, those costs are real — and avoidable.

What follows is a practical reference organized by layer: operating system, browser, VS Code, terminal, and Git. The goal is not completeness, but a high-value subset of shortcuts and workflows that address genuine friction in day-to-day development.


Operating System

Developers move constantly between editors, terminals, browsers, documentation, and communication tools. A handful of OS-level shortcuts reduces the overhead of that navigation significantly.

Purpose macOS Windows/Linux
Switch applications Cmd+Tab Alt+Tab
Switch windows (same app) Cmd+ Alt+Esc
Open system search Cmd+Space Win+S
Hide application Cmd+H Win+D
Minimize current window Cmd+M Win+↓
Quit application Cmd+Q Alt+F4
Screenshot / screen capture Cmd+Shift+5 Win+Shift+S

Spotlight (Cmd+Space) deserves particular attention. It launches applications, locates files, performs calculations, and searches system settings — all without leaving the keyboard or touching the Dock or Finder.

Window Management

macOS Sequoia introduced native tiling via drag-to-edge. For keyboard-driven window management with more control, Rectangle (free) and Magnet (paid) both provide configurable shortcuts for snapping windows to halves, thirds, corners, and specific displays.

A typical development layout — editor on one side, browser or DevTools on the other, terminal on a second display — can be arranged entirely from the keyboard. Once those positions are muscle memory, context switching between tools stops requiring any deliberate navigation.

Multiple windows tiled between two screens

Browser

Browsers function as documentation readers, debugging environments, and research platforms throughout a development session.

Purpose macOS Windows/Linux
Focus address bar Cmd+L Ctrl+L
New tab Cmd+T Ctrl+T
Close current tab Cmd+W Ctrl+W
Reopen closed tab Cmd+Shift+T Ctrl+Shift+T
Switch to tab 1–9 Cmd+1–9 Ctrl+1–9
Navigate back / forward Cmd+[ / Cmd+] Alt+← / Alt+→
Hard refresh (bypass cache) Cmd+Shift+R Ctrl+Shift+R
Open DevTools — elements Cmd+Opt+I Ctrl+Shift+I
Open DevTools — console Cmd+Opt+J Ctrl+Shift+J
Find on page Cmd+F Ctrl+F

Cmd+Opt+J / Ctrl+Shift+J opens DevTools directly to the console — no clicking through panels. For frontend work specifically, that one earns its place in muscle memory fast.

Cmd+L / Ctrl+L focuses the address bar immediately. Combined with typing a URL or search term and pressing Enter, it removes the mouse from routine browser navigation entirely.


VS Code

Navigation & Interface

Purpose macOS Windows/Linux
Open file by name Cmd+P Ctrl+P
Command palette Cmd+Shift+P Ctrl+Shift+P
Global search Cmd+Shift+F Ctrl+Shift+F
Toggle sidebar Cmd+B Ctrl+B
Toggle terminal panel Cmd+J Ctrl+J
New terminal Ctrl+Shift+ Ctrl+Shift+
Split editor Cmd+\ Ctrl+\
Go to definition F12 F12
Rename symbol F2 F2
View all keyboard shortcuts Cmd+K, Cmd+S Ctrl+K, Ctrl+S

Cmd+P / Ctrl+P opens any file by name — type a few characters and it filters in real time. With Cmd+B to hide the sidebar and Cmd+J to toggle the terminal, the file explorer panel becomes largely optional.

Cmd+Shift+P / Ctrl+Shift+P opens the command palette. For any action without a memorized shortcut, it's the fastest path.

Cmd+K, Cmd+S opens the full keyboard shortcuts editor. It's worth exploring — and anything that conflicts with existing habits can be remapped there.

Editing

Purpose macOS Windows/Linux
Move line up / down Opt+↑ / Opt+↓ Alt+↑ / Alt+↓
Duplicate line Shift+Opt+↓ Shift+Alt+↓
Select next occurrence Cmd+D Ctrl+D
Select all occurrences Cmd+Shift+L Ctrl+Shift+L
Add cursor Opt+Click Alt+Click
Add cursor above / below Cmd+Opt+↑/↓ Ctrl+Alt+↑/↓
Add cursors across lines Cmd+Opt+Shift+↑/↓ Ctrl+Alt+Shift+↑/↓
Toggle comment Cmd+/ Ctrl+/
Column selection Shift+Opt+Drag Shift+Alt+Drag

Multi-cursor editing is worth investing time in. Selecting all occurrences of a variable, renaming across multiple lines simultaneously, or applying the same edit to a column of values — these are the kinds of tasks that used to require find-and-replace or repeated manual edits.


Terminal & Shell

Before building terminal shortcuts, it's worth knowing which shell you're actually in:

echo $SHELL

A shell is the command interpreter between you and the operating system — handling command execution, history, aliases, functions, environment variables, and startup configuration. Most modern macOS installations default to zsh. Personal configuration for zsh lives in:

~/.zshrc

After editing that file, reload it without opening a new terminal window:

source ~/.zshrc

The shortcuts and aliases in this section assume zsh, though most apply equally to bash.

Command Line Navigation

Purpose Shortcut
Move to line start Ctrl+A
Move to line end Ctrl+E
Delete to line start Ctrl+U
Delete to line end Ctrl+K
Delete previous word Ctrl+W
Search command history Ctrl+R

Ctrl+R initiates a reverse search through command history. Start typing any fragment of a previous command and it surfaces matches interactively — useful for long commands you remember running but don't want to retype.

Useful Commands

Display command history

history
history | grep git

Useful when you remember running a command but not its exact syntax.

Print working directory

pwd

The fastest way to confirm where you are in a directory structure.

View large files

less server.log

Unlike cat, less allows scrolling through large files without flooding the terminal output.

Repeat previous command

!!

A common use case: rerunning a command with elevated privileges after it fails without them:

sudo !!

Shell Customization

Aliases turn repetitive commands into single words. A few practical examples to add to ~/.zshrc:

alias ll="ls -la"
alias gs="git status"
alias gp="git push"

Small improvements compound. A few well-chosen aliases, combined with history search and readline shortcuts, reduce a meaningful amount of low-level friction every time a terminal opens.


Git

Common Commands

git status
git add .
git commit -m "message"
git push
git pull

git status is the most frequently useful of these. When uncertain about the state of a repository — what's staged, what's modified, what branch you're on — it provides an immediate summary.

Aliases

Add these to ~/.gitconfig under [alias]:

[alias]
  st   = status -sb
  aa   = add .
  cm   = commit -m
  ps   = push
  pl   = pull
  lg   = log --oneline --graph --decorate
  undo = reset HEAD~1 --mixed

Or as shell aliases in ~/.zshrc:

alias gst='git status -sb'
alias gaa='git add .'
alias gcm='git commit -m'
alias gps='git push'
alias gpl='git pull'
alias gl='git log --oneline --graph --decorate'

gl is worth calling out specifically. The --oneline --graph --decorate flags render commit history and branch structure in a format that's actually readable — a significant improvement over the default git log output.

Recovery Commands

Most Git commands create history rather than destroy it. A few commands that help when things go wrong:

Inspect unstaged changes

git diff

Review modifications before staging or committing.

Restore a file to its last committed state

git restore filename.js

Save work temporarily without committing

git stash

Useful when switching tasks mid-work. git stash pop restores it.

Switch branches

git switch feature-branch

A more explicit alternative to git checkout for branch switching.


Deliberate Practice

Reading about shortcuts can be useful. Acquiring them requires repetition. Deliberate action.

To accompany this article, I built a small workshop repository designed around that idea. The project walks through common development tasks using the same layers covered here — OS navigation, browser workflows, terminal commands, Git operations, and VS Code shortcuts.

Participants can fork and clone the repository, navigate the filesystem, open the project in VS Code, and complete progressively larger tasks. Instructions are embedded in the project files, and automated tests provide feedback as each task is completed.

Developer Shortcuts Workshop


Start Small

Pick one shortcut — ideally one that addresses something you actually do repeatedly. Use it every time that action comes up, even when it's slower than what you'd normally reach for. That's stage one of the acquisition arc. It's temporary.

By the end of a week of consistent use, the shortcut is close to automatic. At that point, add another.

The environment stops being an obstacle when the tools in it no longer require conscious attention. That happens one shortcut at a time.


Source Notes

Lane, D. M., Napier, H. A., Peres, S. C., & Sandor, A. (2005). Hidden costs of graphical user interfaces: Failure to make the transition from menus and icon toolbars to keyboard shortcuts. International Journal of Human-Computer Interaction, 18(2), 133–144.

"Results showed that shortcut use was very low (less than 10% of the time) and that the number of hours participants had been using the program did not predict the frequency of shortcut use."


Fitts, P. M., & Posner, M. I. (1967). Human Performance. Brooks/Cole.

Original source for the three-stage model of skill acquisition: cognitive, associative, and autonomous. The model describes how a learner moves from effortful, conscious execution of a skill toward automatic execution requiring minimal attentional resources.


Remington, R. W., Yuen, H. W. H., & Pashler, H. (2016). With practice, keyboard shortcuts become faster than menu selection: A crossover interaction. Journal of Experimental Psychology: Applied, 22(1), 95–106. DOI: 10.1037/xap0000069

"It is widely believed that a graphical user interface (GUI) is superior to a command line interface (CLI) for novice users, but less efficient than the CLI after practice. However, there appears to be no detailed study of the crossover interaction that this implies... The predicted crossover was observed after approximately 200 responses. Experiment 2 showed that following training all but 1 subject in the CLI-trained group chose to continue using shortcuts. These results suggest that frequency of shortcut use is a function of ease of retrieval, which develops over the course of multiple repetitions of the command."


Full References

  • Lane, D. M., Napier, H. A., Peres, S. C., & Sandor, A. (2005). Hidden costs of graphical user interfaces: Failure to make the transition from menus and icon toolbars to keyboard shortcuts. International Journal of Human-Computer Interaction, 18(2), 133–144.
  • Fitts, P. M., & Posner, M. I. (1967). Human Performance. Brooks/Cole.
  • Remington, R. W., Yuen, H. W. H., & Pashler, H. (2016). With practice, keyboard shortcuts become faster than menu selection: A crossover interaction. Journal of Experimental Psychology: Applied, 22(1), 95–106. DOI: 10.1037/xap0000069
  • Fagarasanu, M., & Kumar, S. (2003). Carpal tunnel syndrome due to keyboarding and mouse tasks: A review. International Journal of Industrial Ergonomics, 31(2), 119–136.
  • Jardina, J. R., Peres, S. C., Nguyen, V., Megasari, A., Griggs, K. R., Pinales, R., & Amos, A. N. (2009). Keyboard shortcut users: They are faster at more than just typing. Proceedings of the Human Factors and Ergonomics Society Annual Meeting, 53(15).