The default number of colors in the terminal of the VPS seems to be low. The support for Molokai has been bad.After finding out: Vim terminal mode defaults to 16 colors, and Molokai for 256 color schemeI thought it was a hardware problem, there was
when I just started using VI text Editor, I hate it! I think this is the most painful and anti-human editor ever designed. But I decided I had to learn it, because if you're using Unix,vi is everywhere and is the only editor that guarantees that you
As an old and enduring editor, Vim has its own strengths. Many people think that Vim's learning curve is too steep, in order to be able to use VIM, have to memorize a large number of commands. If you are new to Vim, just start to face a vast amount
After Vim opens the file, press CTRL + V to enter "VISUAL BLOCK" mode650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;"
1. Delete all whitespace characters from the beginning of lines in the/etc/grub2.conf file that begin with whitespace[[email protected] ~]# sed-r ' s/^[[:space:]]+//g '/etc/grub2.cfg # # do don't EDIT this file## It's automatically generated by Grub2
Vim's work-characteristic customizationExtended mode: Current VIM process is validChange profile: Permanently validGlobal:/ETC/VIMRCPersonal: ~/.VIMRC (can be created on its own without this file)1, line numberSet Nu:set number Displays line
System Information: # Cat/etc/redhat-Releasecentos Linux Release7.2.1511(Core) # uname-Alinux Localhost.localdomain3.10.0-327.22.2. el7.x86_64 #1SMP Thu June at -: to: OneUtc .x86_64 x86_64 x86_64 gnu/linux# Cat/proc/Versionlinux version3.10.0-327.2
Vim under the automatic completion, the best tool is youcompleteme, official documents here http://valloric.github.io/YouCompleteMe/The installation is slightly more complicated and the following records my process.1. Installing VundleVundle is a
Ubuntu 14.04 LTS version of Linux, in fact, is already integrated VIM, in the shell always run the command "VI" can be viewed as "vim-vi improved" information, but through the "vi--version" command to view, Can see that this vim belongs to the small
The main reference is this blog post:http://my.oschina.net/swuly302/blog/156784But the basic knowledge that needs to be added is that the same problem may be encountered for the first vim novice user.After the plug-in is added, you need to configure
# Set MagicThe function of this sentence is to open the regular of vim.So you can search for it.As for the relevant content of the regular. Copy it here. To avoid the next time you want to go to Baidu.
symbols
Match
Don't want to spend too much effort on the editor recently, so find a good solution.You can use it very happily without understanding the vim configuration.1, download and install Janus (Https://github.com/carlhuda/janus)Installation is simple and
Sometimes tools are too powerful, but getting started is difficult.Vim Command DaquanThis is the existence of VIM .In order to exercise the ability of the naked eye to debug and write the correct code, I decided to write code with a text
Move word-wiseFaster left and right shortcuts in Vim in Word are:The visual display is as followsThese shortcuts can be used in conjunction with other commands to quickly select a word.Taken together, the ea commands can is read as "Appendat the end
1. Delete charactersX: Delete the character under the cursorDD: Delete a whole line, including line breaksJ: Delete the line break of the current line and execute anywhere in the current line2. Withdrawal and annoyance cancellationU: Undo the most
To facilitate Text Selection, VIM introduces the visual mode.To select a text segment, first move the cursor to the beginning of the segment, press V in normal mode to enter the visible mode, and then move the cursor to the end of the segment. Note
Using vim to open a file, Swap file ". nginx. conf. swp" already exists always appears!Fault: When you use vim to edit the nginx configuration file, the swp file always exists: When you use vim to edit a file, a swp file is generated. FILENAME. swp
Vim-ctags-taglist-netrw, vimtaglistctags
Vim ConfigurationIn ~ /. Configure the following content in the vimrc file, or perform global configuration in/etc/vim/vimrc. Common configurations are as follows:
syntax onset tabstop=4set nuset
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