Differences between revisions 61 and 62
Revision 61 as of 2015-10-28 20:41:44
Size: 4589
Editor: ?MisterHat
Comment: added jedit package link and add link to debian alternatives
Revision 62 as of 2017-09-06 11:08:23
Size: 4587
Editor: ?GeorgeBateman
Comment: Update obsolete package names.
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
 * GUI version of vim, provided by packages DebianPkg:vim-gnome, DebianPkg:vim-gtk, DebianPkg:vim-lesstif.  * GUI version of vim, provided by packages DebianPkg:vim-gtk3, DebianPkg:vim-gtk, DebianPkg:vim-athena.

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


Text editors that can be used without X11, in a command line environment.

  • vim - A full-featured editor with syntax highlighting (web page).

  • Emacs - Some people think it is a mutated and bloated Lisp system trying to disguise itself as a text editor. Others consider it a thermonuclear text editor, capable of many tasks including window management. Once its somewhat high learning curve has been achieved many users find its shortcuts and style of editing to be indispensably fast. Furthermore, there are auto-indent and syntax highlighting options for many file formats such as programming languages or LaTeX, and config files such as ~/.muttrc and ~/.procmailrc. If you know Lisp, you can customize Emacs to any extent you like. Emacs is available both as a graphical editor (emacs) and a console editor (emacs-nox).

  • nano - An easy to learn and use text file editor.

  • mc - Midnight Commander provides an internal text editor, which can be invoked with mc -e or mcedit commands, featuring syntax highlighting, regexp searching and other features.

  • jupp and joe-jupp – A highly configurable editor with a few default modes: jupp (the most polished one) and jstar use ?WordStar keybindings, jmacs is a bit Emacs-like, and jpico is similar to nano. Features include a built-in hex editor, charset support including UTF-8, syntax highlighting, a search/replace mode with optional regular expressions, interactive and scripted macro programming, and a number of other things. jupp is especially recommended for sysadmins (to quickly edit a file) and system programmers. Its status line features things like current offset into the file (column/line, byte offset in decimal and hexadecimal) and ASCII/Unicode of the character under the cursor.

  • jed.


Text editors that can be used in a graphical environment.

  • gedit - Default text editor of Gnome desktop environment. Aiming at simplicity by default, can be configured as full fledged integrated development environment through various plugins provided by gedit-plugins package.

  • geany - Advanced text editor with basic features of integrated development environment and has only few dependencies on other packages.

  • pyroom - Full screen text editor for distraction free writing, with configurable colour-schemes and keybindings.

  • scite - A GTK+ based programmers editor, uses Scintilla editing component.

  • kwrite - Default text editor of KDE Software compilation, provides syntax highlighting and ability to export documents to PDF, HTML, PostScript among other features.

  • kate - Acronym for KDE Advanced Text Editor, can be turned to full featured integrated development environment, providing extendable (via XML) syntax highlighting, session management and other features.

  • mousepad - Default editor of Xfce desktop environment, intended to be, simple, fast and easy to use.

  • leafpad - A minimalist GTK+ based text editor, for basic text editing needs.

  • GUI version of vim, provided by packages vim-gtk3, vim-gtk, vim-athena.

  • Emacs - The default Emacs package includes an interface for X11.
  • jedit - very powerful/flexible (like emacs) and also easy to use (like notepad). Has many plugins for specialized needs.

How to set a default text editor

For administrator

You can set a text editor as default with the update-alternatives command:

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


update-alternatives --config editor

and to see the list of possible paths:

update-alternatives --list editor

Then, just use the editor command instead of vim, emacs or nano for example.

For users

You have to set the environment variable "$EDITOR".
E.g.: to use Emacs as default text editor, just add in your ~/.profile file:

export EDITOR=emacs