1. Install Vim#vim +n filename # #n是数字, you can navigate to the nth row of the file2. Shortcut keysIn the general mode:J down K up H left L rightThe number 0 or shift+6 moves to the beginning of the bankShift+4 move to the end of bank lineGG move to
Learn the Vim tool using the Vimtutor command1, K on J Lower H left L right;2, I inserted before the cursor, a after the insertion of the cursor;3. I insert the cursor at the beginning of the line, a moves the cursor to the end of the row, E jumps
Three modes of VIMGeneral mode (switch to command mode press shift+: key combination, switch to insert mode press I or a key)Insert mode (switch to edit mode press ESC)Command mode (in general mode after typing the appropriate command by pressing
Shift+v Select the row, then the upper and lower keys, select the code blockMove code block around shift+> or shift+U fallback any actionVim Configuration' tab to 4 spacesset smartindentset tabstop=4set shiftwidth=4set expandtab ' not automatic
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
Vi/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 editor, the difference is that Vim is the upgrade version of VI, it is not
Well, these two days in the "Concise Python tutorial," the author suggests writing code when the previous comment write the file name, write the call interpreter, such as:Well, then of course I can not create a new file every time, it is necessary
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
Users who have just turned to Linux from Windows may have a bad place, that is, the cursor in the terminal and Vim is the width of a character, very coarse, at the time of input it is easy to find the current input characters will appear in the
Original URL: http://www.blogjava.net/woxingwosu/archive/2007/09/06/125193.htmlVI is the abbreviation of "Visual interface", its status on Linux as if the edit program on DOS. It can perform many text operations, such as output, delete, find,
1. Open a new tab page: Tabe[dit] {file}2. Close the tab page: tabc[lose][!] Closes the current tab page.The following scenario causes the command to fail:-There is only one tab on the screen. *e784*-If ' hidden ' is not set, there is no [!], the
Sometimes when we use Vi/vim to edit the file if you do not notice the file permissions, when the last time the Save may prompt the following error, if forced to quit and then switch users, will certainly lose the current changes, below I will give
1.taglist Plugin DownloadWherever you go from, csdn Resources or vim websiteI downloaded it: taglist_46.zip2. Create a. Vim in the ~/directory.Put yesterday's. VIMRC into the. Vim DirectoryCD ~mv. Vimrc. Vimmv. Viminfo. Vim3. Unzip the
Http://www.cnblogs.com/ini_always/archive/2012/03/03/2378554.htmlCopy the VIM profile _VIMRC under Windows to your Mac and re-command it to. VIMRC, which is expected to implement a shared profile. But when I started vim, I reported not a editor
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
When using VI on the putty, when opening numlock, press the numeric key on the keypad and not enter a number, but a letter and then newline (in fact, the command mode corresponds to the upper and lower keys). WorkaroundOption Terminal->features,
The first level of the concise Vim training strategy-survival
Install Vim
Start vim
Don't do anything! Please read first
Once you've installed an editor, you'll want to enter something in it and see what the editor looks like.
1.vim Add PluginGitHub above Yangyangwithgnu written very well, recommended: Https://github.com/yangyangwithgnu/use_vim_as_ideHowever, it seems that some can not be used, of course, when very few lost lost.2.yangyangwithgnu with vim-powerline
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.