Top 10 best plug-ins for surging Emacs productivity

Source: Internet
Author: User

Top 10 best plug-ins for surging Emacs productivity

A year ago, I wanted to find the best plug-in to build Vim into a mature, full-featured IDE. Interestingly, many of the comments in that article mentioned that most of Emacs has these built-in plug-ins, which is already a great IDE. Although I agree with the incredible diversity of Emacs, it is still not an out-of-the-box advanced editor. Fortunately, its huge plug-in library can solve this problem. However, in too many choices, it is sometimes difficult to figure out how to start. So now let me try to collect a brief list of indispensable plug-ins to improve your efficiency when using Emacs. Although I focus mainly on improving programming-related productivity, these plug-ins are useful for everyone or for different purposes.

Top 10 best plug-ins for surging Emacs productivity

 

1. Ido-mode

Ido is perhaps the most useful plug-in for beginners. Ido means interactively do ). It replaces most of the boring prompts that match menus with fancy characters. For example, it uses the list of all files in the current directory to replace the regular file prompt. Enter some characters, and Ido will try to match the most appropriate file. It makes your operations easier through visualization, which is also a way to quickly traverse folders with the same prefix for all files.

 

2. Smex

It is not the most famous one, but it is a good alternative to Ido-mode: Smex can elegantly replace ordinaryM-xPrompt, most of the inspiration is from Ido-mode. It also callsM-xThe entered command brings the same interactive search capability. It is simple and effective, and is the best way to improve efficiency for common operations.

 

3. Auto Complete

Before I knew the existence of this plug-in, I spent half of my time hitting it in Emacs.M-/To complete the word. Now, I have a beautiful pop-up menu for auto-completion. Needless to say, we all need it.

 

4. YASnippet

This is an essential tool for programmers. There are always some code snippets that make us feel that we are writing it all our lives. For me, it is constantly input during PHP debugging.var_dump(...);exit;. After a period of inputvar_dump(...);exit;I think I can make it into a recorded and easy-to-use code snippet in advance. By using YASnippets, you can easily import code snippet files or do it yourself. After that, you only need to press the next tab key to expand a small keyword into a large segment of pre-written code, which can be easily modified in it.

 

5. Org-mode

Disclaimer: I recently started using Org-mode, but it has attracted me deeply. From the hundreds of articles I have read, Org-mode can change your life. The idea behind it is very simple: it is a simple remark mode that can be easily transferred in the task list and various data, and filter by priority or expiration date, or set a repetition date. However, although the idea is simple, you can do a lot and use various methods for various purposes. Instead of reading a long introduction, I think you can read the existing tutorials and watch a lot of videos. You can try out how powerful Org-mode is.

 

6. Helm

Some users like it, but others are not so enthusiastic about it. I am part of the latter. However, if you have such a large follower, you can't help but mention it. Helm is designed to completely change your Emacs user experience. In short, Helm is a framework that helps you quickly find a file or command in Emacs. Based on your input, it will try to use words automatically to guide you to turn your brain's thoughts into action. It was a bit strange at first, but for some people, Helm itself is a belief. Although I am not a fan of Helm, I appreciate helm-occur, a great tool that can search strings in a large document and display all matching results in a separate buffer zone, so that it is easy to jump between them. If you are looking for a quick demonstration to understand what Helm can do, I recommend this article.

 

7. ace-jump-mode

This is another plug-in with a large group of followers. I am trying to become a fan of ace-jump-mode. With this plug-in, you will experience the feeling of going beyond the mouse. After you use the shortcut that you choose to trigger ace-jump-mode, you will be prompted to enter characters. Enter a character. All the characters starting with this character will be replaced with a unique character and highlighted. Enter a highlighted character on the screen, and your cursor will jump directly to the highlighted word. I have to admit that this makes it a little difficult for me to use it, but once you master it, it will significantly improve your speed of moving in a document. (LCTT Description: It is difficult to describe in text. For example, you enter an "I ", then, the "I" in all the words starting with "I" on the screen is replaced with the characters from a to z and highlighted; you can enter these highlighted characters to jump directly to that position .)

 

8. find-file-in-project

If you like Sublime text and it can be very convenientCtrl-pFuzzy search is used to open any file in a project. You will like the find-file-in-project (ffip for short) function. After you specify the root folder of your version control, you can easily call up a cool text bar and quickly scan and search for your code, to find the matching File Based on the name you entered. I like to bind it to the F6 key on the keyboard. If you do not know the complex structure of the entire directory from top to bottom, this is simple and easy to use.

 

9. Flymake

For IDE fans, I think the syntax checker is one of the most powerful features of IDE. It is very suitable for beginners and facilitates tired programmers. Thanks to Flymake, Emacs users can also enjoy the syntax checker. Because I use a lot of PHP in my work, Flymake does not need any additional configuration. When I write code, it will automatically check my code and highlight any problematic line. For the compilation language, Flymake will look for a Makefile for checking your code. Amazing.

 

10. electric-pair

Last, but not least. In my opinion, electric-pair is one of the simplest but most powerful plug-ins. It will automatically close the brackets you entered. It does not seem very useful at first, but believe me, after being searched for hundreds of matching parentheses, you will be glad to have such a plug-in, make sure that all your expressions have one-to-one matching brackets.

To sum up, Emacs is a wonderful tool. This is not surprising. Try these plug-ins to see your efficiency soar. This list is not a detailed list of course. If you want to contribute your suggestion, please do so in the comments. I have been searching for new plug-ins to try to discover new Emacs experiences.

Configure the newLISP development environment for Emacs

Teach you how to configure Emacs topics

Compile and install Emacs23 in Ubuntu

Learn how to customize Emacs

In the GNU Emacs environment, how does one compile and run C/C ++ programs?

Emacs installation in Ubuntu has encountered dependency problems and solutions.

Via: http://xmodulo.com/best-plugins-to-increase-productivity-on-emacs.html

Author: Adrien Brochard Translator: zky001 Proofreader: wxy

This article was originally compiled by LCTT and launched with the honor of Linux in China

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.