notepad++ in the zencoding modifier [go]

Source: Internet
Author: User

In Notepad++ 's own "set-up management shortcuts", I couldn't find the shortcut keys for Zen coding, and I didn't want to get rid of the ctrl+/I used to,
As a result, we used a solution to modify the shortcut key, hoping to help people with the same needs.

Here I'll just introduce the example of the shortcut key "ctrl+/" that modifies the "Evaluate Math Expression", which is similar to other shortcut modifiers.
1) Locate the notepad++ installation directory, such as d:\notepad++
2) Open D:\notepad++\plugins\nppscripting\includes\zen Coding.js
3) Ctrl+f Open the Search interface, search for "ctrl+e" (without double quotes), or, in this case, pull directly to line 8010.
can see: AddMenuItem (' Evaluate Math Expression ', ' evaluate_math_expression ', ' ctrl+e ');
You can change the last parameter ' Ctrl+e ' to other shortcut keys that don't get in the way, like I'm Changing ' ctrl+/' (or other shortcut key combinations).
Then save, do not enable re-opening notepad++,
Edit the HTML in the text, and then use the shortcut, if the conflict, there will be no code hint effect, this time need to go to set-up management shortcut to find the ' ctrl+/' shortcut, replace him with other unused shortcut keys or kill.

The following actions are clear shortcut keys:


Some unused shortcuts can be canceled, such as the following to add the HTML code comment shortcut keys, just add//in front of the code
AddMenuItem (' Split/join Tag ', ' split_join_tag ', ' ctrl+\ ');

notepad++ in the zencoding modifier [go]

Related Article

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.