1, open multiple windows (vim editing) to open multiple Windows commands following several:Horizontal cutting window:New+window name (file name after saving): Split+ window name, can also be abbreviated as: sp+Window name Portrait cutting window
Reference:
http://blog.csdn.net/love__coder/article/details/6739670
http://blog.csdn.net/love__coder/article/details/7217377
Intercept to generate a new file or append to an existing file::up to aw!./new.txt #将第21 ~42
Enter VIMIf you want to open or create a new file/home/eagle/main.cpp, enter the statement:
Vim/home/eagle/main.cpp
Move cursor
Key
function
0/home
Move to the beginning of the line
Next page: Page Down
Up one page: Page up
To the beginning of the line: Home
To end of line: End
Move to the end of the file: G
Move to file header: GG
The cursor moves down n rows: N
Insert a new line below: O
recently looking at an open source project, I suddenly discovered that there is no convenient tool to look at the open source code on Linux. Previously, with VS2010 integrated development Environment on Windows, shortcut keys for any function
Installation of the VIM editorVI (VIM) is a very common editor on Linux, and many Linux distributions have VI (VIM) installed by default. VI (VIM) commands are numerous but if used flexibly it will greatly improve efficiency. This article explains
ReproducedOriginal URL: http://www.cnblogs.com/ma6174/archive/2011/12/10/2283393.htmlIt took a long time to tidy up, and it was easy to use and share.My VIM configuration mainly has the following advantages:1. Press F5 to directly compile and
Sometimes we modify some code, and the tab setting in this code is not the same as our own setting. For example, our own setting is to replace tab with two spaces, while the code to be modified uses tab. So, how do we quickly convert the tab to a
Vim Basic UsageModal editorMode:Edit mode: Command modeKeyboard operations are often understood as editing commandsInput modeLast-line mode: Vim built-in command interface, execute VIM commandOpen FileVIM [option] ... [File] ...Mode conversion:Edit
Jostree Reprint Please specify the source HTTP://WWW.CNBLOGS.COM/JOSTREE/P/4137402.HTML1. To the official website Http://www.vim.org/download.php#unix VIM-7.4.TAR.BZ2 Pack 2. Open terminal, extract from command line, enter tar jxf vim-7.4.tar.bz2
A. Mobile:H,j,k,l: Left, bottom, top, right.W: The first word of the next word.E: The ending of the next word.B: The word head of the previous word.Two. Jump:%: Can match {}, "", (), [] jump between.H, M, L: Jumps directly to the top, middle, and
http://my.oschina.net/laserdance/blog/53474 a lot of win under the compiled configuration file (decoding format has UTF8/GBK) uploaded to the Linux server when the Chinese characters garbledHere's how to fix it:Modify the VI environment
Turn from:http://blog.csdn.net/love__coder/article/details/6659103
1. Install Nerdtree plug-in
Download First, official website: http://www.vim.org/scripts/script.php?script_id=1658
After decompression, copy the
This note records the most basic vim and shell operations.What can shellscript do?Shellscript similar to Windows batch processing, you can put a lot of instructions together, so it is easy to execute multiple commands through an operation. Very
One-click Compilation and run function for Gvim or Vim configuration files (Note: GCC is required on the machine)This code is only added to C + + compile and run, if you want to add its language can refer to this code to joinAt the same time, this
You should have experienced adding the same thing to the entire content. For example, add a semicolon or colon to the end of each line.
Today I will share with you how to implement this scenario quickly and efficiently.
For example
Line one
Line
Vim's learning curve is quite large (see the learning curve of various text editors). Therefore, if you see a lot of VIM command classification at the beginning, you will lose interest in this editor. The following article is translated from "Learn
Vim Quick Start
20:19:13 | classification: Linux | report | font size subscriptionVim has three modes: normal (visual command) mode, command line mode, and edit mode. Start vim and Press ESC in any mode to enter normal mode. In normal mode, enter:
Indent settings
Autoindent (AI)
Copy indent from current line when starting a new line (typingIn insert mode or when using the "O" or "O" Command). If you do notType anything on the new line before T or CTRL-D and then typeCTRL-O or, the
Vi and vim Editor (13): Overview of Functions of similar vi products, vivim
This chapter describes the functions provided by similar products of vi.
They are all my brothers:
There are many similar products of the vi editor that can be freely
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