Common Erlang shortcut keys (Emacs)

Source: Internet
Author: User

I have previously reposted an article about common Emacs shortcut keys:

Http://blog.romebuilder.com/2011/11/534/

The following describes how to add the preceding shortcut keys and the Erlang shortcut keys:

Common shortcut key supplement

C-x d directory management interface, which can be used to open files in different directories

C-x C-Q enables the Directory management interface to enter the Editable mode. In this mode, you can modify the file name under the directory. The change takes effect through C-x C-s.

M-g locates the specified row

C-x H full-text selection (all selected)

M-H: select the segment where the current cursor is located. continuous use of this shortcut key selects the current segment and the section after the current segment.

C-Z minimizes the current window (in Linux, the application should be suspended, but in windows, the window is minimized)

Common Erlang keys

C-c-Q // format the current function

C-c-k // compile the current Code (source file)

 

M-Q

C-C // annotate the selected code block

C-c-u // uncomment the code block

 

C-c m-A // position the cursor to the header of the code block

C-c m-E // position the cursor to the end of the code block

C-c m-H // select the current code block

 

C-c-J // create a statement block for the pattern matching function

C-c-y // paste the parameter of the function closest to the current cursor at the cursor

 

C-c-A // specifies the arrow of the alignment block.

 

When Erlang mode is activated, the editor's menu bar will have an Erlang menu with many convenient menu items, such as the commonly used annotation format framework, of course, it also includes the aforementioned quick key operations.

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.