Http://www.cnblogs.com/end/archive/2012/06/01/2531147.htmlYou can display the available registers, which note two special registers: "* and" +. These two registers are communicated with the system, the former relates the system selects the buffer,
The VIMRC file is a VIM environment settings file.The overall vim setting is in the/ETC/VIMRC file.Modifying the/ETC/VIMRC file is not recommended, and each user can set up vim in the user's root directory and create a new ~/.VIMRC.My VIMRC
vthe character visualization mode entered with the command (characterwise visual modes). The text selection is in characters.
Vthe line visualization mode entered with the command (linewise visual modes). The text selection is in the behavior unit.
Classic versionThe following is the most commonly seen in the classic version of the map.The corresponding Simplified Chinese versionIn fact, the classic version is a series of introductory tutorials on the combination of keys, the following is a
1, the first to install Vim, the default Ubuntu is not installed Vimsudo Install Vim sudo Install Vim2, in order to install the pathogen plugin, create a new folder, switch to. Vim, execute git initmkdir ~/. Vimmkdir ~/.vim/{autoload,bundle}cd.
Lesson 1.1 Moving the cursor
1, h, move the cursor to the left;2, L, move the cursor to the right;3, J, move the cursor downward;4, k, the cursor upward movement;5, the operation of the above moving cursor needs to be carried out in normal mode;
from:http://blog.csdn.net/commshare/article/details/6215088 Thanks to the cattle people for their articles. Solved me in vim use, A headache. When Vim creates a new file, the sticky code is automatically indented, resulting in a very confusing
--vim Editor Tutorial (VIM (vi upgrade), recommended VIM)Open the file (if the file does not exist, after it is created, save, write from memory to the hard disk, do not save, delete the file)Vim filenameThe VIM editor has 3 modes: Command mode,
Vim Normal
.: Repeat Last Command 0: (note is number 0) cursor moves to the current line $: Cursor moves to the end of the current row ^: Jumps to the first non-whitespace character h: The cursor moves left one character l: The cursor moves
About VIMVim has the following modes:1) Normal mode, the default editing mode, the following if no special instructions, the mentioned commands are directly in normal mode input, any other mode can be on the keyboard Esc key back to normal mode.2)
"Ctags Features":Generate index files for source variables/objects, structs/classes, functions/interfaces, macros, etc. for quick positioning. Currently supports 41 languages."Installation of Ctags"1) Online Installation:sudo apt-get install ctags
[ESC] Command mode1. J K H L up or down2. x Delete Current character I enter edit mode a current word specifier insert3. Action options for the D motion delete operator operator1. DW is removed from the cursor to the beginning of the next word,
Use a lot of vim configuration version, how to say, want to lightweight do not hugad messy function; If you do not care if the response is fast, focus on the function is strong, you can refer to the configuration strategy of the Great God of Vim
Vim is a more powerful, full-screen text editor than VI. Vim has three modes during its work: edit mode, insert mode, and last line mode.Edit mode (default): Also known as the command mode, its work includes moving the cursor, cut, paste, delete
1 Enter your own vim mkdir./bundile/vundle2 Execute git clone https://github.com/gmarik/vundle.git in vim peer./bundle/vundle download some plug-in files to the./bundle/vundle3 Writing your own VIM configuration set nocompatible "be improvedFileType
Vim is divided into three modes: General mode, edit mode, command mode1. General modeGeneral mode can move cursor, delete, paste copy and other operationsMove Cursor
From This article is in the notes that were written when you learned to use VI Editor, Lamb & Robbins. The content of this article: Basic Global substitution Confirm Replacement Context-sensitive substitution This article has agreed: The $ + command
VI commandYY the line where the cursor is copiedP Paste behind the cursorDD Delete the line where the cursor is locatedVim-p 1.c 2.c 3.c Open multiple filesJ+t for file switchingWA: Save AllQA: Exit All/+ the string to look up:/printf means to look
Ubuntu 14.04 LTS version of Linux, in fact, is already integrated VIM, in the shell always run the command "VI" can be viewed as "vim-vi improved" information, but through the "vi--version" command to view, Can see that this vim belongs to the small
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.