The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Applications/Editors"
(Extending Vim section; adding nano and Emacs sections.) |
(→GNU Emacs: Adding mention of package and UIs) |
||
Line 19: | Line 19: | ||
== GNU Emacs == | == GNU Emacs == | ||
[https://www.gnu.org/software/emacs/ GNU Emacs] is an open-source editor that was first developed by Richard Stallman, the founder of the GNU Project and its development began in 1985. It is written in C and its own programming language, Emacs Lisp. It is using Emacs Lisp that it can be extended, by use of extensions and modifying the configuration script <code>~/.emacs</code>. Thanks to Emacs Lisp it is perhaps the single most extensible text editor available. It is so powerful, in fact, that it can be used to browse the web, read RSS feeds, play games, view emails, <i>etc.</i> It is fairly slow to startup, however, and uses a similar amount of RAM to Atom. | [https://www.gnu.org/software/emacs/ GNU Emacs] is an open-source editor that was first developed by Richard Stallman, the founder of the GNU Project and its development began in 1985. It is written in C and its own programming language, Emacs Lisp. It is using Emacs Lisp that it can be extended, by use of extensions and modifying the configuration script <code>~/.emacs</code>. Thanks to Emacs Lisp it is perhaps the single most extensible text editor available. It is so powerful, in fact, that it can be used to browse the web, read RSS feeds, play games, view emails, <i>etc.</i> It is fairly slow to startup, however, and uses a similar amount of RAM to Atom. It is provided by the <code>app-editors/emacs</code> package. It has both a version available from the command-line and a GUI. | ||
== GNU nano == | == GNU nano == |
Revision as of 10:15, March 21, 2017
Text editors are perhaps the single most important piece of software to software developers. On Funtoo they should all be found in the app-editors
category of the Funtoo tree. So, running:
user $ ls /usr/portage/app-editors
should show all text editors available from the Funtoo tree. To list all available applications in this category, including those in enabled third-party repositories (e.g., overlays added using Layman) run:
user $ emerge --search "%@^app-editors"
By default Funtoo comes with just two text editors pre-installed: nano and vi. Both are command-line text editors.
Atom
Atom is an open-source graphical text editor written in web languages (such as HTML, CSS, JavaScript and CoffeeScript), developed by GitHub and built on the Electron framework. Electron is essentially a form of the Chromium web browser that has been modified specifically so that it can function as a backbone for non-web browser apps like the text editor, Atom. Atom is extensible (using extensions written in JavaScript or CoffeeScript, or a combination of the two), cross-platform (running on the three major desktop operating systems — Linux, macOS and Windows), yet beginner-friendly. Its chief disadvantages are that it is not available from the command-line, uses a comparatively large amount of system resources (including RAM) and takes a relatively long time to load upon startup.
The Atom version in the Funtoo tree tends to become out-of-date rather quickly, as the ebuild for it is rather complicated to update. Those using 64-bit systems that want the very latest Atom, should consider using the app-editors/atom-bin
ebuild, which is presently only available from unofficial overlays, details can be found here, instead.
GNU Emacs
GNU Emacs is an open-source editor that was first developed by Richard Stallman, the founder of the GNU Project and its development began in 1985. It is written in C and its own programming language, Emacs Lisp. It is using Emacs Lisp that it can be extended, by use of extensions and modifying the configuration script ~/.emacs
. Thanks to Emacs Lisp it is perhaps the single most extensible text editor available. It is so powerful, in fact, that it can be used to browse the web, read RSS feeds, play games, view emails, etc. It is fairly slow to startup, however, and uses a similar amount of RAM to Atom. It is provided by the app-editors/emacs
package. It has both a version available from the command-line and a GUI.
GNU nano
GNU nano is an open-source text editor written in C, that is included in Funtoo by default, perhaps because it is an easy-to-use, yet command-line text editor. It starts up very fast, uses very little RAM, although its customization options are very limited. It is provided by the app-editors/nano
package in the Funtoo tree.
Vim
Vim is perhaps the single most popular open-source text editor among developers using Linux, as while it is not beginner-friendly, once one becomes used to its unique keymap one can edit files using it very efficiently. It is written in C and Vim script (VimL), is blazing fast to start up, and is available from both the command-line and has a graphical user interface (GUI) called GVim. It can also be used for several other purposes too that are convenient to developers, including compiling programs, executing programs and executing shell commands. It is also extensively customizable with the use of plugins written in its own programming language, Vim script. Its main user configuration file is ~/.vimrc
, other scripts affecting its behaviour can be found by running:
user $ vim --version | grep vimrc
The command-line version is provided by the Funtoo package app-editors/vim
and its graphical counterpart is provided by app-editors/gvim
.