About Text Editors

This article is a brief introduction of some text editors. There are several text editors for coding and writing. Which one should be chosen? It had led to several debetes.

Guides

Read these articles to get a simple impression.

Explore more:

Read Stack Overflow Annual Developer Survey to find the popular editor.

GitHub Awesome: curated list of awesome lists. Find guides to use these editors in awesome lists.

See also Zhihu articles:

Vim

Vim - the ubiquitous text editor.

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as “vi” with most UNIX systems and with Apple OS X.

Vim Tips wiki: http://vim.wikia.com/wiki/Vim_Tips_Wiki

SpaceVim: a community-driven vim distribution inspired by spacemacs.

Emacs

An extensible, customizable, free/libre text editor — and more.

Emacs Wiki: https://www.emacswiki.org/emacs/SiteMap

Spacemacs: A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it’s Emacs and Vim!

Sublime Text

A sophisticated text editor for code, markup and prose.

Visual Studio Code

Free. Open source. Runs everywhere.

In Settings, search Terminal › Integrated › Default Profile: Windows to change default profile shell.

Advanced use: Use Visual Studio Code

Atom

Atom is closed now.

Atom is a text editor that’s modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file.

It’s hard to install packages from apm in China. If you encouter some problems while installing packages, follow steps below.

Use npm mirror of China.

1
apm config set registry https://registry.npm.taobao.org

Or set proxy for apm. If you use SS or SSR, you can run commands as follows (may need modifying to suit your personal settings).

1
2
3
apm config set strict-ssl false
apm config set http-proxy socks5://127.0.0.1:1080
apm config set https-proxy socks5://127.0.0.1:1080

View configuration at ~/.atom/.apmrc. For more information of using apm in China, visit https://atom-china.org/t/atom/797/2.

Welcome to Atom China.