Type command 1. Command format:Type [parameters] [command]2. Command function:Use the type command to easily find out whether a given command is an alias, a shell built-in command, a file, a function, or a keyword. You can also find the actual path
Shortcut keys for the VIM editor(i) in command modeTo move the cursor:Move front and back: H move forward one unit in the same line L backwardMove up and down: K move J up one line downHL can only move one unit, inconvenientNumber 0 moves to the
Configuring the programming Environment: sudo apt-get install vimsudo apt-get install g++sudo apt-get install gdbVIM environment configuration: Set nocompatible "Vim than VI supports more features, in order to avoid conflicts, it is best to turn off
Vim is an upgraded version of VIThe most obvious difference is that vim displays the contents of the file into a highlighted color.There are many conditions for vim to display colors, and the same file will show different colors in various
General Mode Common operation"[Ctrl] + F" screen moves down one page (equivalent to page DOWN key)"[Ctrl] + B" screen moves up one page (equivalent to page UP key)"[0] or [Home]" cursor moves to the front of the current line"[$] or [end]" cursor
Use: Help to open Vim's aid document found to be full of bitter English, below to provide Chinese Help document installation method:First go to URL http://vimcdoc.sourceforge.net/Select "Latest platform independent tarball,including an LINUX/BSD
Vim three modes set in the editor- Command efficiency, and users will feel quite handy after the habit. To manipulate the text efficiently, you must first understand the 4-1 ). ? Command mode: Control the movement of the cursor, you
I onK DownJ LeftL Right(Move up a section) Move down a section* Search KeywordsD DeleteY copyP PasteH insertionH-Head Plugo Open a line belowO Open a line aboveF-Jump specified keywordF forward Jump Specify keywordE-Letter forward JumpW Letter
First, the basic file operation
Create a file
Touch Vim.txt
Open File
Vim Vim.txtSecond, basic editing operations1. Normal mode
YY copies the current line of the cursor.
P Paste to the next line where the cursor
Vim Editoris an upgraded version of VI with color displayInstall Yum install-y vim-enhancedCopy the passwd file to a different directory with no color after vimGeneral modeLeft and RIGHT ARROW keys or KJHL four keys to move the cursorN-directional
First, Vim common operation1. Insert commandA specifier insert in the word cursorA at the end of the line where the cursor is insertedI match either insert in the word cursorI insert at the beginning of the line where the cursoro Insert a new line
(not to be continued)From the first use of Vim's wits, to now use HJKL navigation has formed a muscle memory.Meet the most novice will be puzzled by the problem, here to organize down.Getting Started FAQs
IDE is very powerful, lightweight
Vim Introduction Vim is a powerful full-screen text editor, which is the most commonly used text editor on Linux/unix, and its function is to create, edit and display text files. Vim has no menu, only commands.For the pure novice, these three
First, the common key description1. General mode
Keys
Description
0
Move to the front of the line
$
Move to the last face of the line
G
Move to the last line
1. Vim has a total of 4 modes:
Normal Mode (Normal-mode)
Insert mode (Insert-mode)
Command mode (Command-mode)
Visual Mode (Visual-mode)
Normal modeThe default is in normal mode when Vim is started. No matter what mode you are in,
edit mode for 5.5:vim:Edit mode: (enter the following command into edit mode): You can edit the contents of the file: Command mode: (Press ESC to enter command mode), supplemental command: in command mode :hi: Highlight: :nohi: The
5.1 Vim Introduction1. vim is an upgraded version of VI2. Vim is a color display 3. Yum install vim command: [[email protected] ~]# Yum install-y vim-enhanced 4 . vim three modes : General mode edit mode Command mode Enter
VimGeneral mode, edit mode, and command line mode, respectivelyGeneral mode: Open a file with VI directly into the general mode ( This is the default mode ). You can use the up and down buttons to move the cursor, you can use the delete character or
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
Ubuntu: install and use vim, ubuntuvim
Ubuntu: install and use vim
1. Install vim
Run the following command on the terminal: sudo apt-get install vim-gtk.
Ii. Use vim
Operation Mode:1. In normal mode, the default mode is normal. You can only
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