Vim Common shortcut keys

Basis:: W Save: q! forced exit not saved: wq! save exitX Delete the following character x delete the previous characterDD: Delete Row 5DD: Delete 5 rowsJ: Remove line breaks to make the next line come upU: Undo Last ActionI insert before the cursor

Linux editor Vim

VI Most original versionVim modified version, more powerfulOpen FileVim file path (command line mode)The command line mode enters edit mode:A append to the current positionI insert forward in the current positiono Edit the next line in the current

Use of Vim

Basic concept: A powerful text editor developed by VIOpen File:Vim file nameVim + N File name —————— How many lines of file are opened directlyVim three modes of operationCommand modeCommand mode toggle Input modeInput modeLast-line modeSwitching

Vim Common configuration and plug-in installation use

The Vim editor is used in Linux. After finding some information, I tried to configure it. Here are some procedures.The first thing you need to know is that the VIM-related configuration is written in the ~/.VIMRC file. My notes below only configure

The VIM Editor's shortcut keys are used

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

Vim Common commands

1.VI is the abbreviation of "Visual interface", its status on Linux as if the edit program on DOS. It can perform many text operations, such as output, delete, find, replace, block operations, and so on, and users can customize them according to

Linux Vim Common commands

Vim command quite a lot, the basis of the preservation, exit, insert, move, etc., trouble points of multi-line selection, split screen and so on.Vim commands are also available in three modes, command mode, edit mode, and bottom line mode. There are

Vim Introduction using

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

My VIM configuration script

Own VIM configuration script, with independent intellectual property rights (refer to a little others), only use a plug-in ctags, the main implementation of the function: Auto-complete brackets, double quotes, single quotation marks,

Introduction to Vim

Vim is an upgraded version of VI, more than the VI featuresVim when editing the file is color display, vi is no color displayThe default is not installed Vim, need to install this packageYum Install-y vim-enhancedVim has three modes, namely General

Linux Learning Summary (13) Text editor vim

Vim is an upgraded version of VI, which is displayed according to the text attributes, with the following details:General mode:1. Cursor Positioning:Move left and right one character, H LMove one character up or down, K JLeft and right down, around

Vim Editor Common commands

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

Installation of the VIM Chinese help document

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

Some basic applications of VIM

Vim text CompilerVI is the default text compiler for Linux and Unix, and Vim is the enhanced version of VI1, about Vim, there are three modesCommand mode: The default mode after the file is opened, can only view the contents of the file cannot be

Set tab and wrap in vim

Today when using the Vim editor to find the default tab key is 8 characters, so think of it set to four spaces, after Baidu, got the following methods:First Enter/ETC/VIM/VIMRCThen add the following code at the end of the document:Set tabstop=4

Vim Private Shortcut Memo

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

Vim Search Substitution function

VI's search substitution language format is roughly as follows: [Range]s/[string]/[replace string]/[g,c,i]Areas:範圍表示法為開頭 , 結束 假如我要從第 1 行到第 150 行,可以這樣下: 1, 150 假如我要從第 1 行到最後一行,可以這樣下: 1, $ 假如我要設定全部範圍,可以這樣下: % (其實跟 1, $ 意義是一樣的)

Vim Common operation

Vim is a very useful text editor for Linux, and people who develop under Linux are familiar with VIM commands.1. Open on line 143thVim +143 filename.txt2. Read-only mode openVim-r/tmp/a.txt3. Force SaveCommand mode wq!4. Go to the end of the current

Installing Vim in a Docker container

? ? ? ? When using a Docker container. Sometimes there is no vim installed inside. 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,

Common vim commands, differences between vim and vi, and common vim commands vi

Common vim commands, differences between vim and vi, and common vim commands vi Differences between vim and vi They are all multi-mode editors. The difference is that vim is an upgraded version of vi. It is not only compatible with all instructions

Total Pages: 210 1 .... 168 169 170 171 172 .... 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.