The use of Linux nature to learn a good text editor, I would recommend the use of Vim here, not that it must be better than other editors, for vim, we can find a lot of useful resources through Baidu (Google was the wall, Baidu's English search is simply a mess. Resources such as Emacs are not easy to find). Below, I also give a copy of my personal use of the configuration, including some utility plug-in (installed Vim-airline):
The approximate function is as follows:
1. Press F5 to directly compile and execute C, C + +, Java code and execute shell script, press "F8" to debug C, C + + code
2. Automatically insert header, new C, C + + source file automatically inserted header: including file name, author, contact information, establishment time, etc., can be changed according to requirements
3. Map "Ctrl + A" To select All and copy shortcut keys for easy copying of code
4. Press "F2" to directly eliminate blank lines in the code
5. "F3" can list the current directory file, open the tree-like file directory
6. Support mouse selection, direction key movement
7. Code highlighting, auto indent, display line number, display status line
8. Press "Ctrl + P" to complete the auto-completion
9.[], {}, (), "", "" and so on are automatically complete
10. Other functions can study the. vimrc file in the user directory
GitHub address (with detailed operation): Https://github.com/hqxdodopipi1/Vim_Configuration
Easy-to-use Vim configuration file (more on C + +)