Translation(s): العربية - German - English - Español - Français - Italiano - 日本語 (Nihongo) - Русский - Українська - 简体中文

Portal/IDB/icon-wiki-portal.png

Debian Wiki 文本编辑器门户网站 - 这个门户网站涵盖了在 Debian 上查看、编辑和创建文本内容的所有方面。


应用

使用 Debtag进行搜索: tag:use::editing AND tag:works-with::software:source

控制台

可以在 command line interface 环境下使用的文本编辑器。

图形

可以在图形环境下使用的文本编辑器。

如何设置默认文本编辑器

参见:DesktopDefaultSettings

对于系统管理员

您可以使用 update-alternatives 命令将一个文本编辑器设置为默认文本编辑器:

update-alternatives --set editor /path/to/the/chosen/editor

或者

update-alternatives --config editor

可以使用以下命令列出能够作为默认文本编辑器的文本编辑器的路径:

update-alternatives --list editor

设置完成后,只需使用editor 命令取代您的编辑器命令,例如 vim, emacs 或 nano。

对于用户

您可以设置环境变量 "$EDITOR"。
例如:将 Emacs 设置为您的默认编辑器,只需在您的 ~/.profile 文件中加入:

export EDITOR=emacs


CategorySoftware