Vim Common commands

Content from https://www.cnblogs.com/chenlogin/p/6245958.htmlI picked a few that I think are most commonly used, as follows:Default to Normal mode (ESC enters this mode in any mode)I: Enter input mode: Enter Command mode: Q exit: Wq Save and exit: W

Vim window operation

Windows operations 1. Introduction to Windows operationVim can open multiple windows in one interface for editing, which are called Vim windows. There are many ways to open a method, for example, you can use the command line mode input to :new open

Vim Quick Find

Find 1. Quick FindEnter Normal mode / and then type the string you want to find and press ENTER to find it. ?is the same as the / function, but ? looks up and / down. After entering the lookup, the input n and N can continue to find n the expression

Find and replace VIM commands

Find and replace/pattern search pattern from the beginning of the cursor to the end of the file, then press N or NN repeats the last search command in the same directionN repeats the last search command in the opposite directionn or N from the word

linux-extension Application: Vim editing skills, distribution network yum source, source code compilation and installation

permissions are numeric:Basic Permissions r=4 w=2 x=1Additional permissions suid=4 sgid=2 Stiky bit=1Set permissions by using numeric formSpace occupied by the statistics file: Dudu [Options] ... [Directory or file]-S: Counts the total amount of

Vim shortcut keys

Normal ModeJ Skip to Next linek jump to the previous lineh move forward a characterL Go backward one charactera Enter edit mode and insert content after the cursorA Enter edit mode and insert content at the end of the lineb Navigate to the first

How the Vim editor adds or removes multiple lines of comments

One, the method of annotating multiple lines1. Enter the Vi/vim editor and press CTRL + V to enter visual mode (visual BLOCK)650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/13/b033cb353db60f719cc34684e260a3c2.jpg-wh_500x0-wm_3 -wmp_4-s_41

Linux Learning (16) VIM

First, IntroductionVim is an enhanced version of VI. Vim is the main editor on the Linux platform. Basically all of the documents are added, modified, saved and need to be used. Therefore, it is necessary to master vim.The installation of Vim is

Vim Edit operation

VimInsert modeA after the cursorEnd of A Lineo The next line in the row where the cursorO a row on the line where the cursor isI before the cursorI beginnings delete the character at the cursor position and enter insert mode Command modeD DeleteDD

Introduction to the simple application of VIM tools for Linux

Vim Introduction:Vim is an upgraded version of VI, VIM is a color display, install vim using yum install-y vim-enhanced.Vim is divided into three modes: General mode, edit mode and command mode.Vim color display and move cursor:Vim is displayed

VIM basic Commands

One, move the cursor # hjkl# 2w forward two words # 3e move forward to the end of the 3rd Word # 0 Move to the beginning of the line # $ The end of the current row # GG file The first line # G file last line # line number +g Specify line # +o jump

Vim text editor and Yum Setup

RPM-IVH Software Name-version information-.rpm (install software)RPM-Q software name (see if the software is installed)RPM-E Software name (uninstall the switch)Because RPM has dependencies and Yum just solves this problemCreate/Modify text files

Usage of Vim

How to enter insert mode from command mode:#A/a/o/o/i/iI: Lowercase is the first letter in the position where the cursor is insertedI: Uppercase is inserted at the beginning of the line where the cursor is locatedA: Start inserting the next letter

Operation in Vim

Multi-line Delete and copy method one: Single row Delete,: 1 (row to delete) d multi-row deletion,: 1,10d method Two: The cursor line, DD cursor line of n rows, Ndd Method 1: The cursor is placed on line 6th, input: 2YY cursor placed on line 9th,

Vim Usage Tips

Pictures worth a thousand UNIX commands and options:I draw this to my students each semester and they seem to grasp VI afterwards.VI is a finite state machine with only three states.========   ======VIM has 3 modes of Operation:input mode, Command

Vim Common commands

Insert I insert before the cursor A after the cursor is inserted Turn over a full page at a time Turn up page ctrl+f "F" meaning forward Scroll down full page ctrl+b "b" meaning backward Turn half a page at a time

Vim's Learning Route

Vim-the Ubiquitous Text editorVim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is the included as "VI" with the most UNIX systems and with the Apple OS x.Vim is rock stable and are

Solve the problem of confusing format when Vim is pasted

When Vim is pasted, the formatting problem is caused by indentation.---------------------------------------------------------------Original: http://www.cnblogs.com/softwaretesting/archive/2011/09/20/2182177.htmlIf you set the auto indent set

Nginx.vim installation Configuration

1. Download Nginx.vimDownload page: http://www.vim.org/scripts/script.php?script_id=18862, Installation Nginx.vimPlace the Nginx.vim in the ~/.vim/syntax/directory,3, Configuration Nginx.vimThen add the following line in the ~/.vim/filetype.vim:Au

Vim automatically adds the C language above and after the operator

function! Align_space () let current_line = Getline ('. ') Let replacement = substitute (Current_line, ' \ ([() a-za-z0-9_]\) \ ([!| ^&=<>%*/+-]\) ', ' \1 \2 ', ' g ') let newline = substitute (replacement, ' \ ([!| ^&=<>%*/+-]\) \ ([() a-

Total Pages: 210 1 .... 204 205 206 207 208 .... 210 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.