VI function is the weakest, but also *nix fucked after the most basic Editor.Later VI was enhanced to include many features, which is vim.Then vim joined the graphics interface, Gvim was born.The strongest feature is Gvim, which has many features
1 phenomena Both cannot map the ALT+J key combination.(1) Use the: H key-notation command to view the mapped characters of the function keys. There is no exception. (2) Use the: Map command to view the configured mappings. Discovery et were
Transfer from http://www.cnblogs.com/itech/archive/2009/04/17/1438439.htmlVi/vim Basic Use MethodThis article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode
Copy/paste
p→ paste after the current position
p→ pasting before the current position
dd→ Delete the current row and save the deleted row to the Clipboard
yy→ copy Current line of business in DdP
Edit
ArchLinux the process of installing and configuring the Vim complement plug-in youcompleteme.Reference:Https://github.com/Valloric/YouCompleteMeHttps://github.com/gmarik/Vundle.vimHttp://www.cnblogs.com/zhongcq/p/3630047.html1. Download
If Vim is not installed, use the following command to install:sudo apt-get install vimCreate the. Vim directory under the user directory, under which the bundle directory is created:mkdir. Vim\bundleInstall Bundle/vundle:git clone https://github.com/
1. Enter the command mode. In the command mode of VIM, enter ":" In edit mode. The cursor jumps to the last line of the screen and displays the colon. Now the command mode is started.The command mode is displayed on the last line of the screen.
The encoding in VIM is mainly related to three parameters: ENC (encoding), fenc (fileencoding), and fence (fileencodings) Fenc is the encoding of the current file, that is, a file that has been correctly displayed in VIM (the premise is that
The following is a record of VIM configurations that I am used ~ _~
"File encoding set fileencoding = utf-8set encoding = utf-8set termencoding = UTF-8" enable syntax highlighting syntax enable "prevents adding a Line Break Set noendoflineset
I have been in contact with vim for some time. I have been using some basic operations of VIM, but the program has not been written much, but I am gradually recovering from the status recently.
To do good, you must first sharpen your tools. As a
Repository Address requested: http://git.oschina.net/eemcmc/kenvim
First, I would like to know how to submit files in oschina git?
Git add file Add the changes to the cache git commit submit file to local library add-M "submit information" Git
In ubuntu, the vim configuration file is stored in the/etc/Vim directory. The configuration file name is vimrc.
In fedora, the vim configuration file is stored in the/etc directory. The configuration file name is vimrc. In Red Hat Linux, the vim
Record the following my vim plug-ins
1. ctags
Use the ctags-R command
2. cscope
Not used yet
3. toglist
4. winmanager
5. Pathogen
6. nerdtree
Appendix:
My. vimrc
""My Vim Configuration""Disable compatibleSet nocompatible"Enable syntax
First, paste a VI/Vim keyboard image found on the Internet. You don't need to remember this figure. You will learn it in the process of using it. At present, I am also exploring some of the shortcut keys that I often use.
1. when I look at code
[VIM] vim tipsThis series is the Reading Notes and summary of Practical Vim, which mainly includes the following aspects: 1. How VIM solves the problem-constructing repeated modifications
1.1 Basic operation unit-character, word, row, paragraph1.2.
Vim and vim Official Website
When performing simple global search replacement, you can use the following ex command:
: % S/which/what/g
It is easy to use
%
Each row (everyline)
S
Replace (substitue)
Which
Search
Vim-) move the cursor
Movement
Command
Flip the screen
Ctrl + F
Flip the screen
Ctrl + B
Front Half Screen
Ctrl + D
Half screen flip
Ctrl + U
Roll Forward a row
Ctrl + E
How to troubleshoot UTF-8 file garbled characters in VIM
1. Basic KnowledgeIn Vim, there are four encoding-related options: fileencodings, fileencoding, encoding, and termencoding. In actual use, any option error may cause garbled characters.
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