StatementThe Stars last nightBlog:http://yestreenstars.blog.51cto.com/This article by oneself creation, if need reprint, please indicate source, thank cooperation!ObjectiveSolve the vim Chinese garbled.Main operation# Create a. vimrc file in the
Vim is a file editor, pure ASCII code, is full screen editor and mode editorVim modeEdit modeLast-line modeInput modeVim Mode ConversionEdit mode-->> Input modeI: Indicates the input mode in front of the character of the current cursorA: Indicates
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
(1): Clone to local, configure to Linux personal directory (if it comes from linux_config, do not need clone) git clone https://github.com/wklken/k-vim.git(2): Installation dependent2.1 system Dependent # Ubuntusudo apt-get install Ctagssudo
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
Search down Word string:/word
Mainly some online information for quick query use.Teach you to convert vim into an IDE programming environment (graphics) http://blog.csdn.net/wooin/article/details/1858917VI and indent settings
Moving from my blog: http://www.xgezhang.com/vim_command_useful.htmlVim this thing is to use more practice, a period of time after the summary. Here is a list of some of the most useful and less skilled commands to use as a record review.o Insert a
Learn other people's posts, the content into their own is to grow, here markVim multi-line indentation Tips1. Press V to enter visual state, select multiple lines, indent or indent with > or 2. Automatic indentation is usually used according to the
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
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
Vim is the legendary sword without front, big Qiao not work. Use good seconds to kill a large help IDE, with bad, hurriedly to learn.First, take a picture, as a desktop background (basic not how to look, worry Mulberry: ()After some basic commands,
Reprinted from Http://blog.chinaunix.net/uid-27213819-id-3813909.html1. Create a. vimrc file in your own home directory. Console input vi ~/.VIMRC carriage return.2. Enter the following text in the. vimrc file?Copy CodeSet tabstop=4Set
Why use VIM? Because of the feature of color display, and also support many program syntax, VIM can help you to debug the program directly. But after the SECURECRT connection Linux display is black and white, feeling very uncomfortable!!What to
1. General modeMoveh or direction left-------------------left to moveMove under--------------------J or in the directionK or move------------------on the directionL or Direction right-------------------right Move Crtl+f Move down one page
using a VIM script, using a template, a few lines of code can be implemented very useful. code in the ~/.VIMRC"Auto Add Pyhton header--startautocmd bufnewfile *.py 0r ~/.vim/vim_template/vim_pyhton_headerautocmd BufNewFile *.py ks |call FileName () |
Sorry, today, in March September 30, we are about to take a long holiday on the 11th day. We have a little bit of impetuousness in our hearts. We have basically finished our work. How can we be so impetuous to become a technical master, I decided to
In normal mode:
H-move cursor left, J-move cursor down, K-move cursor up, L-move cursor right
U-Undo
X-delete characters under the current cursor
DD-delete the entire row under the current cursor
.-Repeat the previous operation
Vi and vim Editor (15): main improvements to vi by vim
Vim has made a lot of improvements to vi. This chapter will discuss the main functions added to vim: includes built-in help functions, startup and initialization options, new mobile commands,
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