Source Insight Research-Shortcut Key

Source: Internet
Author: User
The competition between the keyboard and the mouse is always Program The topic of argument. I think most people do not believe in an operation method in extreme ways. The mouse is more common, but it is helpful to master some shortcut keys to increase the operation speed.

Si provides us with a wide range of shortcut keys and flexible customization methods, as well as support for custom commands and scripts. After mastering these skills, I believe you can enjoy it more.

The following are some of the most useful shortcut keys:

1. Press Ctrl + O to open the file list.
2. F7, open the symbol search window (global list)
3. F8, open the symbol search window (local file)
4. CTRL + =, to the definition of the symbol
5. Alt +,/ALT +. Jump to the previous/next stop
7. CTRL +/, global search
8. CTRL + ', search and replace
9. Shift + F8: Mark the keyword under the current cursor as highlighted

In addition, the commonly used Ctrl + C, CTRL + V will not be said, but Si is very awkward to set Ctrl + A to save all is not select all, indeed, I admit that the former may be more frequently used than the latter, but who has made us accustomed to windows?

What's even more strange is that our latest Si cannot find the Select All command in key assignments. In this way, you cannot set Ctrl + A to select all. Is that true? In fact, there are still 10 thousand tricks, that is, to write a select all statement by yourself using the SI macro. This is not difficult, but it is not easy. It is mainly to learn the built-in APIs, I don't want to discuss how to write macros here. I 'd like to look elsewhere. Now, select all is written as follows:

Macro selectall ()
{
Hwnd = getcurrentwnd ();
Hbuf = getcurrentbuf ();
Selrec = getwndsel (hwnd );
Selrec. lnfirst = 0;
Selrec. ichfirst = 0;
Selrec. lnlast = getbuflinecount (hbuf );
Selrec. ichlim = 0;
Selrec. fextended = true;
Selrec. frect = false;
Setwndsel (hwnd, selrec );
}

I am opposed to changing the shortcut key settings too much. If there is no need, it is best to keep the original system settings so that you are not too unfamiliar when operating on other machines.

I have attached my si layout and color.

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.