TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are your most favourite editor shortcuts?

5 点作者 petr25102018超过 5 年前
Name the editor, shortcut and what it does.

4 条评论

bananowo超过 5 年前
You can copy and paste text by selecting it and pressing CTRL+C to copy it and then CTRL+V to paste it. It's my favorite.
Foober223超过 5 年前
For standard CUA editors: Control + Shift + Arrow-key to highlight words.<p>But I use Emacs so everything I do is a shortcut. Maybe my favorite Emacs shortcut is actually a short-cut framework called Hydra. You enter a temporary state where all key-bindings are shadowed with custom bindings, allowing single key presses to perform anything.
deanmoriarty超过 5 年前
Vscode (and others): cmd+shift+f to search in files, and related shortcuts to navigate through the search results and quickly open the matches files. I use it literally hundreds of times a day often with regexps, especially in projects with several heterogeneous files (scripts, makefiles, Kubernetes manifests, ...). If I had to reach the mouse every time I do a project search, my productivity would plummet.<p>On a more meta, cmd+shift+p to open the command palette so I can execute commands by fuzzy matching, so you can do some random actions without having to navigate the UI manually (typical things I do could be view git log, stash something, stage a chunk of the file, ...).
abhijat超过 5 年前
Intellij&#x27;s Alt-J (multi-select) and Ctrl-W (progressive select) are the most productive for me.