1. Need to install vim under the shell command to knock command Vimtutor IDE integrated development Environment 1.vim Three modes of operation A. Command mode B. Edit mode C. Last-line mode1. Command mode-execute command In this mode, you can enter
1) yy (function Description: Copy the current line of the cursor)Y digit y (function Description: Copy a paragraph (from the first line to the first line))2) P (function Description: Arrow moves to Destination line to paste)3) U (function
Introduction to the basic operation of VIM editorYun ZhengjieCopyright Notice: Original works, declined reprint! Otherwise, the legal liability will be investigated.Maybe a lot of small partners have heard of VI editor or VIM editor. They are one of
Three modes of VIM:
Command modeESC enters in any mode
Edit modeCommand mode--"edit mode"
I: Before the character of the current cursor
A: After the character of the current cursor
O: Create a new row
5.1:vi and Vim:Vim is a text editing tool for all Linux systems, the same as with Windows Notepad, used to manipulate and edit files:Vim is an upgraded version of VI, VIM (will display font color): VI (no color is displayed)1, the installation of
Shortcut keys commonly used in the command mode of the 1.vim editor:DD Delete (cut) the entire line where the cursor is located5DD Delete (cut) 5 lines starting at the cursoryy copies the entire line of the cursor5yy copy 5 lines starting at the
Linux Vi/vimAll UNIX like systems will be built into the VI document editor, and other document editors will not necessarily exist.But at the moment we use more of the Vim editor.Vim has the ability to edit the program, can be active in font color
Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
[Vim]vim Learning Notes--Multiple files open, toggle, off one case is to open multiple files in the shell with vim, and open multiple files in the Vim editor while opening multiple files vim file1 file2 Open the file and display the horizontal
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,
Fast indent 1. Use commands to quickly adjust indent operationsThis section learns how to indent quickly in vim and indent operations are effective in normal modeOpen a file for editing$ vim protocols
Normal mode input 15G , jump to 15
This tutorial describes some of the basic techniques for using VIM in different modes of operation-insert mode, command mode, access to files, and so on. The goal is to help newcomers who have just touched vim to use this excellent editor more
When using a Docker container, there are times when Vim is not installed, and when you tap the VIM command, you are prompted to say: Vim:command not found, this time you need to install VIM, but when you knock Apt-get install Vim command,
Edit mode for 5.5:vim:Edit mode: (enter the following command into edit mode): You can edit the contents of the file:650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/08/b01374da517f171ab6363e90608fab99.png-wh_500x0-wm_3 -wmp_4-s_2416377663
Open the host file with the VIM command[Email protected]/]# vim/etc/hostsPress "I" key to enter edit modePress "ESC" key to exit Edit modePress "Backspace" key to delete the previous character of the cursorPress "Delete" key to delete one character
Vi/vimVi/vim commands for editing textCommand: VI test.txt, when test.txt does not exist, automatically create this file, execute VI test.txtThe red arrow marks the file name, indicating that it is now in command mode, and when VI is a file, most of
Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
Download Javacomplete from the Https://github.com/vim-scripts/javacomplete websiteCreate a new Javacomplete-master folder and copy the Javacomplete-master.zip to this foldermkdir javacomplete-master && cp
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