Linux command line shortcut keysShortcut keys: Tab Auto-complete path directory name, +l (lowercase) Clear screen, CTRL ++ + +e (lowercase) to command line end shortcut: Ctrl+k Delete/ cut the contents of the cursor to the end of
Compiling VIM reference: 1190000005820066One, storage size of ' st ' isn ' t known (reference: https://www.cnblogs.com/davytitan/p/4452895.html)Willtypedef struct _STAT64 stat_t;Change totypedef struct _STAT64 stat_t; Second, undefined reference to
Ctags-vim code Quick Jump 1, descriptionWhen using Vim for driver writing and maintenance in a Linux environment, it is often necessary to call a function or macro definition of the Linux kernel, and frequent jumps between the driver and the kernel
Vim shortcut key classification http://www.cnblogs.com/jikey/archive/2011/12/28/2304341.html one. 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.
Vim has the ability to edit the program, can be active in font color to identify the correctness of the grammar, convenient programming.Here is the vim of the keyboard diagram, or very detailedUse of VimIt is basically divided into three modes,
Reminder: VI Edit does not support multi-line comments, be sure to use vim1. Multi-line Comment:1. First press ESC to enter command line mode, press CTRL + V to enter the column (also known as block) mode;2. Use the upper and lower keys at the
First, the use of vimVim is a text editor developed from VI. Code completion, compilation and error jumps and other convenient programming features are particularly rich, is widely used in programmers, and Emacs parallel to become UNIX-like system
Under the leadership of the teacher, has recently been seen as a rise. Install yourself and try to experience some of the basic functions of vim, perhaps as a beginner, always feel that its instructions are too complex, in terms of text editing,
Visual Mode 1. Introduction to Visual Mode commands
Enter in normal mode v (lowercase), enter the character selection mode, you can move the cursor, where the cursor will be selected. The selection is deselected when the V-meeting is
Document Encryption 1. Create an encrypted document$ vim -x file1Enter your password to confirm the password so that the next time you open, VIM will ask you to enter the passwordExecuting external commands in vimEnter command-line mode ! to execute
Enter edit modeEnter the mode in which the document can be edited
Key
function
I
Insert in current character
I
Insert at the beginning of the line where the cursor is located
Enter edit mode650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/08/c54b24b003d7fb5ce5ddb62070ec9022.png-wh_500x0-wm_3 -wmp_4-s_1073373071.png "title=" 3.png "alt=" C54b24b003d7fb5ce5ddb62070ec9022.png-wh_ "/> I enter edit mode, the cursor
Location:/ETC/VIM/VIMRCIt is recommended to use Gedit for configuration. Even with the command: sudo gedit/etc/vim/vimrcSet Mouse=a"Enable Mouse usage (all modes) set confirm"? Should be deleted for questioning to determine"Indent Lattice set
1. Beginning and end of line^: Move to the beginning of the line$: Move to end of line2. File header, end of fileGG: File HeaderG: End of File3. Show current positionCtrl+g: Show Current positionSet Number: Sets display line numbers, set Nonumber:
移动光标30 move to the beginning of the line # $ The end of the current row # GG file The first line # G file last line # line number ++ +i return to the position before the jump退出# Enter normal mode #: Q! do not save exit #: Wq after saving删除# x
Pydiction is used to implement the code completion and syntax hints function. Pydiction cannot be installed via apt and needs to be downloaded and installed by itself.git clone https://github.com/rkulla/pydiction #https://github.com/ma6174/vim look
-The advantages of VIM's encryption function1. After encryption, if you do not know the password, you will not see the plaintext, including the root user can not see-Cons1. Obviously let others know encryption, it is easy for others to destroy the
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.