Skip to Content
Node与Express开发(第2版)
book

Node与Express开发(第2版)

by Ethan Brown
June 2021
Intermediate to advanced
290 pages
9h 21m
Chinese
Posts & Telecom Press
Content preview from Node与Express开发(第2版)
Node
的世界
|
11
在很多类
Unix
系统中,
Ctrl-S
有特别的含义——它会“冻结”终端(因此曾
被用来暂停快速滚动的输出)。由于它也是常见的“保存”快捷键,因此用
户很容易不假思索地按下去,从而导致很多人很困惑(虽然不想承认,但这
种事情经常发生在我身上)。要想从“冻结”中恢复,只需按下
Ctrl-Q
。因
此,如果你的终端好像突然冻结了,你也没明白怎么回事,试着按下
Ctrl-Q
看看能不能恢复。
2.3
 编辑器
在程序员中,很少有话题能像编辑器的选择那样引发激烈的争论。这很合理,毕竟编辑器
是你首要的工具。我选择的编辑器是
vi
(或支持
vi
模式的编辑器)
。
1
vi
未必适合所有人
(每当我对同事们说,要是我用
vi
来完成他们的工作会多么轻而易举
,他们总会冲我翻白
眼),但寻找一款强大的编辑器并学会使用它,可以大幅提升你的工作效率,而且我敢说,
这样也可以大大增加工作的乐趣。我特别喜欢
vi
的一个原因
(虽然不是最重要的原因)
是,和
bash
一样
,它无处不在。只要能使用
Unix
系统,就能使用
vi
。很多流行的编辑器
有“
vi
模式”
,可以让你使用
vi
的键盘命令。一旦你习惯了
vi
,就很难再去使用别的编辑
器了。虽然
vi
刚用起来有些难,但为其付出努力是值得的。
如果你像我一样,看到了熟悉一个无处不在的编辑器的好处,还可以选择
Emacs
。虽然我
用不惯
Emacs
(人们一般要么习惯使用
Emacs
,要么习惯使用
vi
)
,但对于它的强大和灵
活,我绝对是信服的。如果
vi
的分模式编辑方式不适合你,推荐你仔细看看
Emacs
。
尽管掌握一个控制台编辑器(例如 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

面向对象的思考过程(原书第5版)

面向对象的思考过程(原书第5版)

马特 魏斯费尔德
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua

Publisher Resources

ISBN: 9787115565099