In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to use the Linux text editor Jed, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
In this article, I'll introduce Jed, a terminal-based editor that features a convenient drop-down menu that makes it particularly easy for users who are new to the terminal editor and those who don't like to remember the key combinations for each function.
Jed's convenient drop-down menu makes it easy for new users to use the terminal text editor. You may have heard of typical Linux text editors such as Emacs, Vim and Nano, but Linux has a large number of open source text editors.
Install Jed
On Linux, your distribution repository may have Jed installed through your package manager:
$sudo dnf install jed
This is not the case with all distributions, but it is an application that is easy to compile from source. First, download the S language (the writing language of Jed) and install it (where x.y.z should be replaced with the corresponding version number):
$wget https://www.jedsoft.org/releases/slang/slang-x.y.z.tar.bz2$ tar xvf slang*bz2 $cd slang-x.y.z$. / configure; make$ sudo make install
After installation, do the same for the Jed source code (replace x.y.z with the corresponding version number):
$wget https://www.jedsoft.org/releases/jed/jed-x.y.z.tar.bz2$ tar xvf jed*bz2 $cd jed-x.y.z$. / configure; make$ sudo make install
Start Jed
Jed runs in the terminal, so to start it, simply open the terminal and type jed:
F10 key = = > File Edit Search Buffers Windows System Help This is a scratch buffer. It is NOT saved when you exit. To access the menus, press F10 or ESC-m and the use the arrow keys to navigate. Latest version information is available on the web from. Other sources of JED information include the usenet newsgroups comp.editors and alt.lang.s-lang. To subscribe to the jed-users mailing list, see. Copyright (C) 1994, 2000-2009 John E. Davis Email comments or suggestions to. [(Jed 0.99.19U) Emacs: * scratch* () 1 to 16 8:49am]
How to use Jed
The instructions for Jed auto-loading are clear and helpful. You can press F10 or Esc, and then press M to enter the top menu. This will bring your cursor into the menu bar at the top of Jed, but it will not open the menu. To open the menu, press enter on the keyboard. Use the arrow keys to browse each menu.
The on-screen menu is not only helpful for first-time users, but also provides good keyboard shortcut reminders for experienced users. For example, you can probably guess how to save the file you are working on. Go to the File menu and select Save. If you want to speed up the process, you can remember Ctrl+X and then the key combination of Ctrl+S (yes, these are two consecutive key combinations).
Explore the functions of Jed
For a simple editor, Jed has a range of surprisingly practical features. It has a built-in multiplexer that allows you to open multiple files at the same time, but it will "stack" on top of another file, so you can switch between them. You can split your Jed window, have multiple files appear on the screen at the same time, change your color theme, or open a shell.
To anyone with experience with Emacs, many of Jed's "unadvertised" features, such as key combinations for navigation and control, are clear at a glance. However, when a key combination is quite different from what you expect, there will be a slight learning (or no learning) curve. For example, Alt+B in GNU Emacs can move the cursor back one word, but in Jed, by default, it is a shortcut for the Buffers menu. This caught me by surprise, about once in every sentence in this article.
Jed also has patterns that allow you to load modules or plug-ins to help you write specific kinds of text. For example, I wrote this article using the default text mode, but when I was writing Lua, I was able to switch to lua mode. These patterns provide syntax highlighting and help match parentheses and other delimiters. You can see which patterns are bundled with Jed in / usr/share/jed/lib, and because they are written in S, you can browse the code and possibly learn a new language.
Try Jed
Jed is a delightful and refreshing Linux terminal text editor. It is lightweight, easy to use and relatively simple to design. As an alternative to Vi, you can set Jed to the EDITOR and VISUAL variables in your ~ / .bashrc file (if you are a root user, in the root user's ~ / .bashrc file).
The above is how to use the Linux text editor Jed. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.