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.