Displaying two different files, or displaying two different places of a file at the same time, or comparing twoThing This can all be achieved through the split window.The simplest command to open a new window is as follows:: Split (split
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
Text editor VimVIM: (visual interface improved), is a full-screen plain text asscii Editor, is the enhanced version of VI, compared to VI, VIM support syntax highlighting features.Vim is a modal editor, common patterns are edit mode (command mode),
Common options for the Vim text editor under Linux.VIM (Visual interface improved) is an enhanced version of the VI editor, small but powerful, is the most frequently used Linux system Text editor, so learning Vim is also a necessary skill to learn
Configure VIM to do it. First PWD, check the user root directory $ pwd /home/administrator $vim /HOME/ADMINISTRATOR/.VIMRC Set nocompatible Set Backspace=indent,eol,start Set ruler Set ShowCmd Set Wildmenu Set FO=CQRT Set laststatus=2 Set textwidth=
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.
Reprinted from: http://linux.bloghome.cn/posts/114.html
1. Install to http://vim.sourceforge.net/scripts/script.php? Script_id = 1, 159
Download the latest minibufexpl. Vim script,Copy the file to the plugin directory.
2. ConfigurationAdd the
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
When you look for source code from the Internet, you will often find that the code is well formatted, but with the line number in front, copy and paste it directly to remove the line number in front to compile, and worse, with the line number in
I personally think the vim configuration will be helpful to the novice, because I am also a newbie, please ignore it.
When we installed Ubuntu, we may not have Vim. We can only use VI. Vim is an upgraded version of VI. We are not used to the vim
Vim (vi) is a commonly used editor on Linux. By default, VI (Vim) is installed in many Linux distributions ). There are many VI (Vim) commands, but if they are used flexibly, the efficiency will be greatly improved. VI is short for "Visual Interface"
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
------------------------------------------------------------------------------------ Gvim has four modes: Normal Mode, insert mode, replace mode, and command mode.
Normal Mode insert mode I/I insert a/A at the beginning of the cursor/line at the
Anyone who has used VIM to edit Chinese documents knows that the command line mode is required after each editing.
If you forget to press SHIFT to switch the Chinese/English input, you will find that the commands after pressing ESC are all Chinese
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