The purpose of installing g++,gdb,ctags and the configuration of vim:
G++,gdb,ctags can be convenient for us to compile programs under Linux, debugging programs;
The purpose of configuring VIM:With VIM configuration, we can make it
Method 2:Input in command line mode6,9 Co 12Copy the contents of lines 6th through 9th to the following line 12th.Method 3:Sometimes you don't want to struggle to see how many rows or large lines are copied, you can use labels insteadMove the cursor
First contact This a little strange, but there is a hint of surprise! For a novice to the configuration of vim really do not know, so from the Internet to find information to browse the blog has some gains, so I think to share to everyone, I feel
1) First find the configuration file for vim. VIMRC, enter ls-a view, if you do not create a new2) Enter the command vim. VIMRC into this file and enter the following statement:650) this.width=650; "src="
When you start programming in Linux, Vim is not configured to be programmed with only the initial edits, which is a lot more inconvenient than programming in the Windows environment.650) this.width=650; "src="
Default location for configuration files:Under directory/etc/, there is a file named VIMRC, which is a public vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private configuration file
First, on the following website:Http://ctags.sourceforge.netNext Ctags5.6 (ctags-5.6.tar.gz)Then, CD to download the good directory and unzip$ TAR-XZVF ctags-5.6.tar.gzUnzip the CD to ctags-5.6 later.CD ctags-5.6Then compile and installmake//next to
1.vim Why do I need a plugin manager according to the normalVimplug-in installation includes downloading, extracting and copying to the websiteVIMthe installation directoryand Running: Help Tagsthese few steps. These steps are complex enough,
1 Installation(If it is a newly installed CentOS, it is best to follow vim before the installation of the necessary common support libraries in Linux: http://blog.csdn.net/clevercode/article/details/45438401)# yum-y Install vim*2 Viewing the
1. PrefaceVi/vim is a very important text editor in Linux. The first time I used this editor, I was not used to even know how to move the cursor and insert characters. After learning slowly, we know how to use Vi/vim. Vi/vim's role is to create,
This problem, mainly or some environment variables are not caused by setting.The main modified documents include:1./var/lib/locales/supported.d/local2./etc/environment3.~/.vimrcFirst of allsudo vim/var/lib/locales/supported.d/localEn_hk. UTF-8 UTF-8
Multi-line Comments:1. Enter command-line mode, press CTRL + V to enter Visual block mode, then press J, or K to select multiple lines to mark the lines that need comment2. Press the capital letter I, then insert the comment, for example//3. Press
Ah, while I am still downloading LLVM from GitHub (very slow: and very large in size).I come with my new ideas-to-write this new blog:Because Learning to configure VIM forces me to learn git. And now I think why haven ' t I came across GitHub
Vim configuration file. VIMRC generally has 2 locations1 is in/directory2 is in the ~ directoryIf there is a configuration file in the ~ directory then it will not read/directory under the configuration fileIf you do not know which directory the Vim
Linux command line
1. Open the command line Ctrl+alt+t2. Catalogue
Displays a list of files for the current directory
Ls
Jump to the X folder in the current directory
CD x
Return to the root
To move a command:H: Shift LeftL: Move RightK: Move UpJ: Move Down^: Move to the first non-whitespace character of the bank0: Move to the first character of the bankGG: Move to file headerg = Shift + G: Move to end of fileTo switch to edit mode:I
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.