Common operations for VIM

 Several editing modes of Vim Normal mode: You can use the shortcut key command, or press: To enter the command line. Insert mode: You can enter text, in normal mode, press I, A, O and so on can enter the insertion mode. Visual mode:

Knowledge of the visual mode under Vim

Three modes of visualization: v activates the character-oriented visual mode, v activates the line-oriented visualmode, and CTRL +v activates the visual mode for the column block ; Select Highlight Area:

Vim Chinese garbled

The following occurs: The CentOS system can display Chinese, but when using the Vim editor, there is a Chinese garbled650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/97/DE/wKioL1k0HkfD3pXuAAEhQTLPpXU393.png-wh_500x0-wm_ 3-wmp_4-s_35008117

Vim Settings ColorScheme Tips

Vim Settings ColorScheme TipsTags: colorschemevim2014-03-22 13:29 23363 People read comments (0) favorite reports Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.The color theme of Vim is

Vim Theme Settings

The color theme of Vim is in the/usr/share/vim/vim74/colors folder.After you open vim, enter ": ColorScheme" in normal mode to view the current theme, modify the theme using the command ": ColorScheme mycolor", where MyColor is you/usr/share/ The

Vim Common shortcut keys

DW: Delete the wordd$: Delete from current cursor to line trailerDe: Delete from the current cursor position to the end of the word (including the last character)d$: Delete from current cursor current position until end of current lineDD: cut when

How to Exit Vim

Click Esc the key,; Vim enters command mode. Then enter: :qExit (this is :quit the abbreviation) :q!Do not save exit (this is :quit! the abbreviation) :wqWrite the file and exit; (This is :writequit the abbreviation) :wq!(If the file

Linux Vim Operation Tips

· The important principle of Linux design is that information is stored in text-based filesText file: Unformatted file, function similar to win's registry (etc under Configuration file,. conf or no extension) Extensible Markup Language (XML), text

Workaround for incorrect prompt after turning off vim editor

With VIM, there are two common causes of errors:(1) When you use multiple programs to edit the same file.(2) non-conventional exit.The following information is prompted:E325:attentionfound a swapfileBy the name". TEST.TXT.SWP"owned By:root dated:tue

Terminal and vim Chinese coding problem

A. Terminal Chinese display garbledSome netizens said to modify/var/lib/locales/supported.d/locale and/etc/default/locale It's all right, but if multiple people share a machine, there's no root authority. This is obviously undesirable. Now we

Vim Text Editor

Vi/vim is the most commonly used text editor on Unix/linux and is very powerful. Only commands, no menus.1. Insert commandI insert before the cursorI start inserting at the current line of the cursorA after the cursor is insertedA inserts at the end

Use of Vim

Vi:visual InterfaceASCII, UnicodeThree modes: 1, edit mode, command mode, 2, input mode, 3, last line modecommand:# vim [OPTION] ... FILE ...Edit mode--Input mode I:insert, enter at the cursor position;A:append, enter at the back of the cursor

Vim Common operation

One or two modesThere are two main modes of Vim, Normal mode and insert mode.Normal mode---insert mode can be edited like a normal editor by pressing I into insert modeInsert mode--Normal mode by pressing ESC into normal mode, you can do a lot of

Vim's most-used commands

Compilation Example: g++-o hello hello.cpp-std=c++11, where-std=c++11 represents support for c++111 new featuresCommand mode execution after ESC is pressedA after inserting a letterI insert the current cursor------------------------------------------

Linux VIM Program Editor

Tips:In VI, [tab] The result of this button is not the same as the result is not the same, especiallyEmphasize it!General mode30↓ Move Down 30 rowsGG moves to the first line of the file, equivalent to 1GG move to the last line of the fileEnter

Vim Utility Configuration

First put the Exvim. Then modify the. vimrc file.1. Automatic line wrapping. Takes two steps:Set textwidth=70 for Word countSet Wrap sets Automatic wrappingSet linebreak "word wrapping, with the use of automatic line wrapping, the effect is very

Use of Vim to improve the article

Vim is the greatest invention of all time, there are a lot of interesting methods, I have a brief introduction here, let your vim use more efficient. Now open your VIM editor and follow the top teacher's action.Improve: 1.  .→ ( decimal point )

Linux vim Auto complement Python plugin: pydiction

Pydiction can be we use the TAB key to automatically complement the Python code in Vim, is a very good plugin.Pydiction does not need to be installed, all without any dependency on package issues, pydiction mainly contains three

Linux vim Auto complement Python plugin: pydiction

Pydiction can be we use the TAB key to automatically complement the Python code in Vim, is a very good plugin.Pydiction does not need to be installed, all without any dependency on package issues, pydiction mainly contains three

Windows Vim Configuration plugin Vundle

First step: Install Git and configure CurlNot much to say, Vundle is based on the GIT architecture, so, which is a must.Download Msysgit and install it (see Http://drupalchina.cn/content/windows-xi-tong-xia-gitan-zhuang-tu-jie) and Git The cmd path

Total Pages: 210 1 .... 174 175 176 177 178 .... 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.