Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install medit in linux

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to install medit in linux", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "how to install medit in linux" this article.

Install medit

You can download medit from mooedit.sourceforge.net. It confirms that it works on Linux and Windows. If you are using Linux, you can also find it in your warehouse. On Slackware, I installed it from slackbuilds.org.

Medit terminal showing examples of Bash script in editor

Use medit

Medit claims to be an editor "for and around programming." in fact, it was born as part of a larger project called GAP (groups, algorithms, programming Groups, Algorithms, Programming). Most of its features are developed in response to the expectations of a typical developer. For example, in the Edit menu, there are options to increase and decrease indentation, which is a common task for any programmer trying to visually indicate the scope (and a clear text requirement for Python programmers), as well as the option to comment or uncomment text blocks.

Some features are also useful to ordinary users. Medit has an easy-to-use tabbed interface (both at the top of the window and in the pop-up list on the side), a side panel for quick browsing of the file system, the ability to bookmark files, and so on. It also has syntax highlighting for both programming languages as well as markup language and Markdown, so it is an editor that can be used to edit code and plain text.

Color scheme

When editing plain text with no syntactic association or a format like Asciidoc, medit does not have a preset highlighting scheme, and the editor will adopt your system default values. I use a dark theme, so medit displays white text on a dark gray background.

For syntax highlighting, however, the text becomes colored according to the role each word plays in its structured language. At first, I was a little frustrated by some of medit's choices, many of the colors were too dark to recognize against my dark background, and I didn't think all the important elements were conspicuous enough. If you don't like the solution chosen by medit, the answer to this question is in Preferences, and you can change the color theme. I changed my color to Tango, which presents a daylight color array that works well in my dark editor background, even adding color to elements that remain white under the medit theme.

Medit terminal showing examples of Bash script in editor using Tango color scheme against dark background

Pop-up Python console

At the bottom of the medit window, there is a pop-up terminal for quick access to shell. This is a great feature, but frankly, it feels normal after you've experienced Emacs and Kate. What surprised me about medit was its pop-up Python console, which started from the Tools menu and pre-imported moo and gtk modules. In other words, when you start medit's Python shell, you can check out the Python and GTK modules of the medit build itself. This is a great feature that may inspire you to write plug-ins (the pop-up terminal is a plug-in written in Python, so you can also use its code to learn how a plug-in is written).

The above is all the contents of the article "how to install medit in linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report