vim commands

Want to know vim commands? we have a huge selection of vim commands information on alibabacloud.com

Linux C Programming (1) VIM and GCC commands

) B: Move left 1 words, the cursor is at the beginning of the next word. (5) (: Move to the beginning of the sentence, if you are already at the beginning of the sentence, move to the beginning of the previous sentence.) (6)): Move the first sentence of the next sentence. (7) {: Move to the beginning of paragraph of this paragraph, if it is already in the beginning of the paragraph, move to the beginning of the previous paragraph. (8) 1G: Move to the beginning of the first voyage of

Vi/vim/gvim Editor Common commands

located: P Paste at the location where the cursor is copied, I insert at the current line, A inserts at the end of the current line; O Creates a new blank line below the current line for inserting O Creates a blank line above the current row; CC replaces the current line contents with a blank line c$ Delete the current position to the end of the current line NBSP;c0 deletes the current position to the current line start content == automatically indents the current line GG jum

Common VIM commands

Shortcut keys Description : Q Exit : q! Force exit : W Save : Wq Exit after saving Ctrl + D Turn down half a page Ctrl + U Turn up half a page Gg Jump to the beginning G Move to the last line of the file NG Move to Nth row of a file | Move to the first column of the current row ^ Move

Vim Common commands (i) Special deletion

Tags: ble body command quotation marks tab content table row number Specify order Dd You can delete the current line of the cursor; Ndd n represents the number of rows, 3DD, deleted from the current cursor down 3 lines; Di Deletes the contents within the specified symbol, such as an empty number, in quotation marks; Dt Deletes the contents of the current cursor to the specified symbol

Some basic commands for VIM

Tags: replace undo basic Command Edit delete shift mode from backward forwardUse of Vim1 command mode, edit mode, last line mode, command mode is the broker of edit mode and last line mode.Vim Common commandsI: Enter edit modeYY: Copy cursor row copy multiple lines: Digital +yyP: Paste, paste multiple times: digital +pDD (delete, cut), cut or delete multiple lines: Digital +DDV: Select multiple rowsUp and down: K: Up, J: down, L: Right, H: Left equals direction keyx: Delete a letter from the pas

Some obscure but very useful Vim commands

somewhere and then jump to another place. If you want to jump back to the place you previously modified, use the command:Ctrl+oTo go back to the place where you changed.Similar to:Ctrl+iWill fall back above the beat.Convert the current file to a Web pageThis generates an HTML file to display the text and display the source code in a separate window::%tohtml(Translator Note: The original is:%tohtml, but on my computer is:%tohtml)Very basic but very good.Overall, this series of

Liunx Vim commands Edit file contents

Sometimes the project has been deployed in Tomcat, but you need to modify some of the contents of the configuration file or modify the content of a JSP file, you will think of the local modified files uploaded to the server and then replace it, in fact, you can use the VIM command directly edit the good ... Here's an example ↓ Create a file in a folder firstHere I first created a test folder with the MkDir command, and then created a a.txt file with t

Usage summary of the VIM Editor installation command using commands and settings

Installation of the VIM editorVI (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. This article explains the operations that are mai

Vim custom commands and shortcut keys

commands under "n (normal mode)". after reading the commands, I will understand the commands in other modes.The ing commands for common modes mainly include:1.: map[Syntax]: map {lhs} {rhs} | mapmode-nvo | *: map *1.1 mode of action: n, v, o (common, visual, and selection, operator waiting)1.2 command format:: Map {lh

Vim custom commands and shortcut keys

Five mappings exist.-For normal mode: when you enter a command.-For visual mode: When the visible area is highlighted and a command is entered.-Used for operator waiting mode: The operator is waiting ("d", "y", "c", etc ).See: | omap-info |.-For insert mode: it is also for replace mode.? For command line mode: Enter the ":" or "/" command. The following table shows the mode code of map binding. Now let's take a look at it. After reading it, we will see the pattern code.Font mode ~N normalV visua

Summary of VIM replace search commands

1. the simple replacement expression replacement command can replace another word with one word in the full text: % s/four/4/g "%" range prefix to execute replacement in all rows. The last "g" Mark replaces all matching points in the row. If you only operate on the current row, you only need to remove %. if you have a ticket like "thirtyfour ", 1. simple replacement expression The replacement command can replace another word with one word in the full text: : % S/four/4/g The prefix of "%" indica

Column mode of vim commands

Vim command-column mode vim command, column mode is very useful when operating multi-line comments www.2cto.com 1. move the cursor to the beginning or end of the line to comment out the paragraph or the end of the line2. ctrl + v enter visual block Mode 3. move the cursor to the first 4 of the ending or starting line. shift + I enter the insert mode, and enter the characters to be annotated, # Or //5. Press

[Load] Vim Common commands

to the end of the row where the cursor is located yfa indicates copying the content between the current cursor and the first a character after the cursor DFA indicates deleting the content from the current cursor to the first a character after the cursor Specifically:YY indicates copying the row where the cursor is locatedDd indicates deleting the row where the cursor is located.D: deletes the content from the current cursor to the end of the row where the cursor is located. The complex us

Vim Common commands

ESC to endU Cancel the previous actionVi. Search and search replacement commands/string search for specified string, ignoring case set IC when searchingn searches for the next occurrence of the specified string:%s/old/new/g full text Replace specified string: N1,n2s/old/new/g replaces specified string within a certain rangeVii. Save and Exit commands: W Save changes: W new_filename Save as specified file:

Summary of common vim commands

Vim is a powerful tool for development in linux. I believe many people feel its strength. As a powerful editor, I use a lot of it, but I am not very proficient in it. Sometimes I forget to check the usage. Below is my summary of the most commonly used, record: Normal Mode: j: Move up 5j move up 5 rows k: Move down 5 k move down 5 rows G: to the last line of the document nG: to the nth line gg: to the first line of the document h: shift left, 5 h, move

VIM basics of Linux commands

Linux Command-VIM basics 1. Basic operations: 1. Switch normal mode and edit mode with ESC and I keys www.2cto.com 2. X → delete a character of the current cursor. 3. : Wq → save disk + exit (: w save disk,: q quit) 4. Dd → Delete the current row and save the row to the clipboard. P/P → paste clipboard 6. Move the cursor in the direction key → 7. Yy → copy the current row to ddP 8. : Q! → Exit and do not save: qa! Forcibly exit all the files being edi

Vim common commands: Move to the beginning or end of a document

Http://outofmemory.cn/code-snippet/4016/go-to-bottom-of-file-in-vim-editor GG: Command moves the cursor to the beginning of the documentG: Command moves the cursor to the end of the document VI Editor in command line mode, enter G to jump directly to the bottom of the page Enter 1G in command line mode to jump to the head position of the page More instructions for moving the edit position in VI are as follows: H moves left J moves down K moves

Vim Commands and configurations

expression ? rexp Search up N Repeat search in same direction N Repeat search in reverse direction / Repeat Search down ? Repeat Search up Fc The cursor is positioned over a C character on the current line Fc The cursor is positioned where the first occurrence of the C character occurs at the current line Tc The cursor locates the previous character of a C character th

Column mode of vim commands

Vim command-column mode vim command, column mode is very useful when operating multi-line comments www.2cto. com1. move the cursor to the beginning or end of the row to be commented out. ctrl + v enter the visualblock Mode 3. move the cursor to the end or start line... Vim command-column mode vim command, column mode

Vim Common commands

Insert modei ==== = = = ExitInsert modeCursor movementH,j,k,l =←,↓,↑,→ctrl+f =next page (forward) Ctrl+b =Prev (backward) W=jumps to the beginning of the next word w=jumps to the beginning of the next word (blank delimited) e=jumps to the end of the next word e=jumps to the end of the next word (white space delimited) b=jumps to the beginning of the previous word b=jumps to the beginning of the previous word (blank delimited)0=jump to our line of clothes $=jump to the end of bank line^ =jump to

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.