Want your vim to have a c/cpp code complement function? It is recommended that you use the Youcompleteme tool. The configuration is a little cumbersome, but under my step-by-step instructions, you will be able to do very well.First mention a few key
Full-screen editor: VIMVi:visual interfaceVI, VI improvedVim:Pattern:Edit mode: Command modeInput mode:Last-line mode:Edit mode--Input mode:I:insert,A:append,O:new Line,I: The beginning of the lineA: End of lineO: Above New CCBInput mode--edit
Brief introduction:Vim is a well-known, powerful, highly customizable text editor similar to VI, which improves and adds many features on the basis of VI. Vim is purely free software.Three modes General mode:Vim opens a file and goes into general
Edit modeInput modeLast-line mode1: Cursor movement between charactersH: Move one character to the leftJ: Move the cursor down one characterK: The cursor moves up one characterL: The cursor moves one character to the rightIf you want the line to
VI(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. VI is the abbreviation for "Visual Interface", Vim is
1 "The following is a partial configuration of my vim2 au FileType php call addphpfunclist ()3 functionaddphpfunclist ()4Set Dictionary-=~/.vim/php_funclist.txt dictionary+=~/.vim/Php_funclist.txt5Set Complete-=k complete+=k6 endfunction7 "That's
When you download a lot of topics, but do not know that one is your favorite, there are ways to quickly browse:
Download: Color Scheme Explorer
Copy the Csexplorer.vim to the. Vim/plugin
Edit a file freely: Vim [file]
Input:
Gvim creating the IDE's records, methods and steps for VIMHttp://blog.csdn.net/namecyf/article/details/7787479http://www.cnblogs.com/CodeWorkerLiMing/archive/2012/12/22 /2829330.html//some win Gvim tricks collection full Project Search
VI under the basic divided into three modes of general mode, command line mode, editing modeVI a file after entering the general mode in this mode you can move the cursor, copy, paste, delete file dataGeneral mode input i,i,a,a,o,o,r,r into the
Advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient:QX starts recording the macro and registers the result with the Register XQ Exit Record mode@x playing macro
1. Use the VIM comparison mode to open two files:vim-d file1 file2OrVimdiff file1 file22. If you have already opened the file File1, then open another file file2 to compare:: Vert diffsplit File2If you do not use the vert command, the diffsplit will
1. Background When pasting the code in the terminal vim, it is found that the inserted code will have extra indentation and will accumulate line by row. The reason is that the terminal puts the pasted text into the keyboard cache (Keyboard buffer),
Inadvertently found the topic discussed in the Knowledge:What do you think is the best-looking Vim color scheme (color scheme)?User AnswerIn the first place is:Molokai Ah, the most classic colorSince Molokai is so classic, of course it will be
Install VimApt-get Install VimOpen a document with Vim vim XXXThere are three modes of vim:Command mode: You can move the cursor, delete characters, and so on.Insert mode: You can enter characters in this mode and press ESC to return to command mode.
~ (SHIFT + ') case toggleK (Shift + K) man page# (SHIFT + 3) check up to find* (SHIFT + 8) check down to find> left and Right tab. Repeat Last ActionWwee jump to the next wordBB Previous Word$ (SHIFT + 4) End of line^ (SHIFT + 6) beginning of the
The cursor can be moved in the screen text using the arrow keys, or the H J k L Letter KeyK (upstream) J (downlink) H (shift left) L (shift right)delete the cursor position character in normal mode, press Xin normal mode, insert or add text:I insert
1. Configurations in ~/.VIMRCThank the enthusiastic colleague to provide the vim configuration file, really save a lot of things ~ ~Set Shiftwidth=4set tabstop=4set nu!set mouse=aset autoindentset rulerset incsearchset smartindentset
Play with Vim's heavily armed vim Lazy cancer at the end of my seemingly a long time did not write a blog, has owed many in the planned blog I have already embarrassed to say. OK, so, in the first three, after introducing vim as the code editor,
Since entering this company, every now and then by the next big God shocked, first time by his proficiency in the terminal command line, and then he was in the vim to modify the code when the quick search, replace shock.Every time to ask him for
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.