C language in the Linux system is the importance of nature is unmatched, irreplaceable, so I write Linux Lake series can not mention C language. C language is my enlightenment language, thanks to the C language led me into the program world.
This week we went on to learn the other features of the Vim editor that we didn't finish last week, first learning to use VIM to edit multiple files, vim files 1 files 2 files 3 .... Then we learned to populate the current file with other files,
Vim is a well-known, powerful, highly customizable text editor similar to VI, which improves and adds many features on the basis of VI.Mastering the Simple VIM command can greatly improve the efficiency of our editing document, and in the Linux
Why do I need to compile and install vim?Because I want to install YCM,YCM requires a vim version of 8.0Tutorial steps:1, check the system version2. Remove the vim that comes with the system3, compile and install vim4, test the installation of VIM1,
9.Vim editor the enhanced version of the Vi editor supports multiple language scripts, file type plugins, text completion modes, and many other options. Command mode: For file navigation, cut and paste both simple commands. Undo recovery and other
Today with git commit-m "comment" submitted, the comments were wrong, so the various search data began and git bash vim entanglement ... (Online information I really did not operate successfully, but finally found out)Start with the git
One, insert commandI inserted at the current positionI Insert at the beginning of the currentA is inserted after the current positionA inserts at the end of the current lineo Insert a row after the current lineO insert a row before the current
--vim, the king of Linux text editingVim: full-screen, patterned text editorVi:visual interfaceVim:vi Improved (vi enhanced version)I. VIM [options] [file..]Vim file to open or create a new fileIf the file exists, the file is opened and the content
Source:Http://www.cnblogs.com/itech/archive/2013/02/18/2915279.htmlThe beautifully formatted Perl code is not only pleasing to the eye, but also easy to read.Perltidy is a small project of SourceForge, after we have written a messy code, he can be
Vim use commandAuto-complete operation
Ctrl + N/ctrl + P Auto complement string
CTRL +x CTRL +F Auto-complete file name
"Multi-file operation"To open multiple files:
Vim file1 file2 ... filen open all the files you want to
Each time to the new machine to use VIM to modify the configuration file, you have to re-set the environment of vim, such as indentation, display line number, syntax highlighting, and so on, each time set, too troublesome, so find the data to write
The decision to discard the mouse starts, so be prepared to use VIM.So how to build Golang environment in VIM?With Git in vogue, it's so easy to build a vim environment.And when Vim is built, it's basically no different from the IDE.Highlighting,
The learning curve of Vim is quite large (see the learning curve of various text editors), so if you start to see a bunch of Vim's command classifications, you're bound to lose interest in the editor. The following article is translated from "Learn
All instructions for VIM compatible VIThe VI command has the following characteristics:
There's a difference in case letters.
Does not appear on the screen when you enter it
No more commands to add the ENTER key
1. Open and
Delete a character after the cursor XDelete a character before the cursor shift+xDeletes the specified number of character digits +xDelete a line of characters DDCut the specified number of rows dd 3DD cut 3 linesActually, it's not erased, but it's
1. Full-text coverageAfter the program is published to the test and development environment, it is often necessary to telnet to the Linux change code. Usually in the IDE, CTRL + A, CTRL + V to cover the entire document, you need to do this in vim
1. Copy the/etc/grub.conf configuration file to the/tmp directory and use the Find replacement command to delete the white space character at the beginning of the/etc/grub.conf file
12
[[email protected] tmp] #
This is my second article in the blog Park, tonight is the special day of the online, should be small requirements do not want to talk about, drink a bit of wine, feel pressure and challenge, smoked a few cigarettes, now a bit of the feeling of
This article is based on the knowledgehttps://www.zhihu.com/question/29333426"What are the LUA support issues for vim under Windows?" "Article summarizes the solution.A good gvim version of the main problem,https://tuxproject.de/projects/vim/Links
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